Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION User Manual Page 263

  • Download
  • Add to my manuals
  • Print
  • Page
    / 300
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 262
16.12 Ownership and Permissions 251
Figure 16.19: Removing, then restoring permissions
u+x allows the le owner to execute the le
a+rw allows everyone to read and write to the le
ug+r allows the owner and group to read the le
g=rx lets the group only read and execute (not write)
By adding the -R option, we can change permissions for entire directory trees.
Theres a slight twist, however, because we cant really executea directory as we would an appli-
cation. Instead, when we add or remove execute permission for a directory, were really allowing (or
denying) permission to search through that directory.
To allow everyone read and write access to the tigger directoryinourlogindirectory,wejusttype:
chmod -R a+rw tigger
But. . . If we dont allow others to have execute permission to tigger, it doesnt matter who has read
or write access, because no one will be able to get into the directory unless they know the exact
lename they want.
For example, letstype:
Page view 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 299 300

Comments to this Manuals

No comments