Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
ls -l report, Linux / Unix - types and permssions
What does drwtrwx--- mean on the start of your ls-l report?

The first character (d in my example) tells you the type of symbol you have on the file system, as follows:

d - a directory;
b - a block-type special file;
c - a character-type special file;
p - a named pipe;
l - a symbolic link;
S - a socket;
s - a XENIX semaphore;
m - a XENIX shared data (memory) file;
D - a Solaris door;
n - a HP-UX network special file;
- - a plain file.
and I've heard rumours of a "*" appearing - anyone know about that?

The following characters are grouped 3 by three:

First three - the user (file owner's) permissions
Next three - the group permissions
First three - the permissions other users have

and the characters you'll find are:

r - the file is readable
w - the file is writable
x - the file is executable (or accessible for a directory)
- - the indicated permission is not granted.

The user execute character may also be:

s - the file has set-user-ID mode
S - the set-user-ID bit is set on the file but it is not executable

The group execute character may also be:

s - the file has set-group-ID mode;
l - mandatory locking is enabled for the file (standard)
L - mandatory locking is enabled for the file (Posix)

And the other group execute character may also be:

t - the sticky bit of the mode is on
T - the sticky bit is on but the file is not executable
(written 2007-02-06 08:47:34)

 
Associated topics are indexed under
A101 - Web Application Deployment - Linux -An Introduction For Users

Back to
Serialization in Java - all layers required!
Previous and next
or
Horse's mouth home
Forward to
Rail trouble forced me to buy hotel

Some other Articles
Well House Manor in the Snow
Making a mountain out of a molehill
Java Deployment course - lunch break
Rail trouble forced me to buy hotel
ls -l report, Linux / Unix - types and permssions
Serialization in Java - all layers required!
Final, Finally and Finalize - three special words in Java
Graham Ellis - an Introduction
Light and shadows at Beach
Bradford-on-Avon - 150 years of passenger trains
1636 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho