| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ls - List Directory Contents (Page 3 of 3) Understanding Linux Permissions The Linux file system uses the same permission model as UNIX. This has proved over the years to be a useful model, rich enough for most situations and yet relatively easy to understand and administer. User and a group own each file. Read, write, and execute permissions can be set individually for both of these users. Additionally a third set of permissions exist for all other system users that may want to see these files. Looking at the listing above there is a string of 10 hyphens, r, w, or xs. The first position is information about the type of file, a d will be used to indicate a directory or a - for normal files, immediately followed by the access permissions for the files user/owner, the group, then all others. If the character r,w, or x appears in the indicated area for the file user, then that user has those corresponding access permissions, read, write, or execute. A - implies that the permission associated to that location is denied. In other words for the files named ps in the above listing: the files user/owner has read and write permission, the group user has read and write permission and all other users have only read permission. These permissions can be changed by either the files user/owner or the system administrator. For more information, the info pages for the ls command carries a detailed description on how the ls command displays access rights. This permission scheme allows Linux to maintain a very high-level of security. The user or system administrator can protect information or grant access to information on a very granular basis. Proper control and maintenance of file and directory permissions will help insure proper system security.
Home - Table Of Contents - Contact Us CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com Version 1.0 - Version Date: March 29, 2005 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||