5.4 Using Directory PermissionsUnlike many other operating systems, UNIX stores the contents of directories in ordinary files. These files are similar to other files, but they are specially marked so that they can only be modified by the operating system. As with other files, directories have a full complement of security attributes: owner, group, and permission bits. But because directories are interpreted in a special way by the filesystem, the permission bits have special meanings (see Table 5.11 ).
If you want to prevent other users from reading the contents of your files, you have two choices:
Note the following:
Table 5.12 contains some common directory permissions and their uses.
|
|