Red Hat NETSCAPE MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Manuel d'utilisateur Page 263

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 300
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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:
Vue de la page 262
1 2 ... 258 259 260 261 262 263 264 265 266 267 268 ... 299 300

Commentaires sur ces manuels

Pas de commentaire