Get the Access Control Information of a File in AIX



Share this article :

In normal UNIX, Linux operating systems environment – You can execute the command ls -lrt to
get the access control information of any file. In AIX operating system, you can also use command
aclget to get the same information.

Example

To get the access information on itsiti file, type aclget itsiti. You will get the base permissions
on owner, group and others attributes.

aclget itsiti
*
* ACL_type   AIXC
*
attributes:
base permissions
    owner(root):  rwx
    group(system):  rwx
    others:  rwx
extended permissions
    disabled

If you want to copy the access control information on one file to another file, execute the below command. As result, the file ara will have the same access control as file itsiti.

aclget itsiti | aclput ara

Tags:

Related posts

Lock & Unlock User in AIX
Determine the Installed AIX OS Version
AIX: Cannot Open or Remove a File Containing a Running Program
Disable Sendmail in AIX
© 2017 ITsiti. All Rights Reserved
Powered by KEEM