CONTENT
  • CHANGES
Szukaj
counter

#top getfacl


getfacl - get file access control lists

Powiązane:
getfacl, setfacl,

SYNOPSIS
getfacl [-aceEsRLPtpndvh] file ...
getfacl [-aceEsRLPtpndvh] -


DESCRIPTION
If getfacl is used on a file system that does not support ACLs, getfacl displays the access permissions defined by the traditional file mode permission bits.

The output format of getfacl is as follows:
1: # file: somedir/
2: # owner: lisa
3: # group: staff
4: # flags: -s-
5: user::rwx
6: user:joe:rwx #effective:r-x
7: group::rwx #effective:r-x
8: group:cool:r-x
9: mask::r-x
10: other::r-x
11: default:user::rwx
12: default:user:joe:rwx #effective:r-x
13: default:group::r-x
14: default:mask::r-x
15: default:other::---



EXAMPLES
getfacl /etc/fstab
getfacl: Removing leading '/' from absolute path names
# file: etc/fstab
# owner: root
# group: root
user::rw-
group::r--
other::r--

getfacl --omit-header /etc/fstab
getfacl: Removing leading '/' from absolute path names
user::rw-
group::r--
other::r--

getfacl --default /etc/fstab
getfacl: Removing leading '/' from absolute path names
# file: etc/fstab
# owner: root
# group: root

getfacl --numeric /etc/fstab
getfacl: Removing leading '/' from absolute path names
# file: etc/fstab
# owner: 0
# group: 0
user::rw-
group::r--
other::r--

getfacl --absolute-names /etc/fstab
# file: /etc/fstab
# owner: root
# group: root
user::rw-
group::r--
other::r--




Zmodyfikowany ostatnio: 2014/05/11 03:10:44 (9 lat temu), textsize: 6,86 kB, htmlsize: 2,64 kB

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