CONTENT
  • CHANGES
Szukaj
counter

#top setfacl


setfacl - set file access control lists

Powiązane:
getfacl, setfacl,

SYNOPSIS
setfacl [-bkndRLPvh] [{-m|-x} acl_spec] [{-M|-X} acl_file] file ...
setfacl --restore=file


DESCRIPTION



OPTIONS



EXAMPLES
Granting an additional user read access
setfacl -m u:lisa:r file

Revoking write access from all groups and all named users (using the effective rights mask)
setfacl -m m::rx file

Removing a named group entry from a file's ACL
setfacl -x g:staff file

Copying the ACL of one file to another
getfacl file1 | setfacl  --set-file=- file2

Copying the access ACL into the Default ACL
getfacl --access dir | setfacl  -d -M- dir




Zmodyfikowany ostatnio: 2014/05/15 15:02:37 (9 lat temu), textsize: 7,42 kB, htmlsize: 1,72 kB

Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników