5 Directory Access

Inherently, a directory is a file that stores information about files that are ``inside''. It has the same permissions as a regular file. However, there are some important differences.

Special care should be taken when setting the r and x permissions. r-- for a directory means the contained files can be listed, but there is no access to them. --x is usually not used, but it means files inside a directory can be accessed, but the directory cannot be listed.



Copyright © 2006-07-31 by Tak Auyeung