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
File permissions of Linux and Unix systems
What does -rwxr-x--- mean in the output of a Linux ls (list symbols) command?

The first character indicates the type of file system object that the line describes, and the commonly found characters are:
-A regular file
dA directory
lA symbolic link


You then have three groups of three characters, which describe who can do what with the file system object:
First 3 positionsWhat the User (owner) can do
Middle 3 positionsWhat the Group members can do
Final 3 positionsWhat the Other users of the system can do


Within each of the three groups, read as follows:
r or -w or -x or -
First characterAn r indicates Readable
Second characterA w indicates Writeable
Third characterAn x indicates eXecutable for a plain file or aXessible for a directory

If you see an s or a t (lower case) in the third position, it inicates that the "x" is set, and conveys additional information for the administrator. If you see an S or a T (upper case), it indicates that there is NOT an X set.

Note that write permission to a directory allows the person with that permission to add files to the directory and delete files from within it, even if they don't have any access right at all to the actual file being deleted.
(written 2005-08-31 08:58:36)

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

Back to
Linux commands - some basics
Previous and next
or
Horse's mouth home
Forward to
New print centre for our manuals

Some other Articles
Expect for Windows
Through public transport connection, Chippenham to Salisbury, to cease
FTP - how to make the right transfers
New print centre for our manuals
File permissions of Linux and Unix systems
Linux commands - some basics
Charlie on Monday
Swindon - Chippenham - Melksham - Trowbridge - Westbury train service
The Melksham train - a button is pushed
Robust checking of data entered by users
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