Domanda

When I see the permissions using the getfacl(). The permission information about the users on the files gets listed down.

# file: file.1
# owner: root
# group: root
user::rw-
user:adm:r--
group::r--
mask::r--
other::r--

I could not understand what the "user::rw-" mean .

È stato utile?

Soluzione

The lines beginning with user::, group::, and other:: are translations of the traditional Unix permission modes for the file's owner, group, and other, respectively, into ACL syntax. The lines with a user or group name after user: or group: are more specific ACLs for those named users and groups.

See here for a more detailed explanation of how to interpret the output of getfacl

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top