Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Uživatelský manuál Strana 263

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 300
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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:
Zobrazit stránku 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 299 300

Komentáře k této Příručce

Žádné komentáře