Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 3
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
3. The Linux permissions model
  


Permissions and directories page 20 of 23


So far, we've been looking at permissions from the perspective of regular files. When it comes to directories, things are a bit different. Directories use the same permissions flags, but they are interpreted to mean slightly different things.

For a directory, if the 'read' flag is set, you may list the contents of the directory; 'write' means you may create files in the directory, and 'execute' means you may enter the directory and access any sub-directories inside. Without the 'execute' flag, the filesystem objects inside a directory aren't accessible. Without a 'read' flag, the filesystem objects inside a directory aren't viewable, but objects inside the directory can still be accessed as long as someone knows the full path to the object on disk.


Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact