Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Instrukcja Użytkownika Strona 263

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 300
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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:
Przeglądanie stron 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 299 300

Komentarze do niniejszej Instrukcji

Brak uwag