Команда getfacl

Display discretionary file information.

Синтаксис

getfacl [-a] [-d] file

-aDisplay the filename, the file owner, the file group owner, and the ACL of the file.
-dDisplay the filename, the file owner, the file group owner, and the default ACL of the file, if it exists.
fileThe path name of a regular file, special file, or named pipe.

Примеры

getfacl myfile.txt - would display results similar to the following:

# file: myfile.txt
# owner: computerhope
# group: users
user::rw-
group::---
#effective:---
mask:rwx
other:---

The complete available facl commands include:

# file: filename
# owner: uid
# group: gid
user::perm
user:uid:perm
group::perm
group:gid:perm
mask:perm
other:perm
default:user::perm
default:user:uid:perm
default:group::perm
default:group:gid:perm
default:mask:perm
default:other:perm

Обратно к списку команд




установка windows 7