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

Display the AIX Terminal Name
Find AIX Command by Keyword
slibclean: Removes AIX Unused Kernel & Library Memory Modules
diag: Performs Hardware Problem Determination
© 2017 ITsiti. All Rights Reserved
Powered by KEEM