AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

What is meant by ACL in file permissions?

  • 1.  What is meant by ACL in file permissions?

    Posted Mon May 21, 2012 03:19 AM

    Originally posted by: shibhikkiran


    Hello all,

    I'm a beginner in AIX, praticising couple of months.

    This question was faced by me in one of my interview.

    If I want to change the permission for only a specific user in a group, then how can I do it?

    I think , it comes under Acess Control Logic (ACL) in file permissions.

    But, I don't have any idea so could you help me by giving your thoughts.

    Awaiting for your response.

    Regards,
    Kiran.
    Chennai


  • 2.  Re: What is meant by ACL in file permissions?

    Posted Mon May 21, 2012 04:48 AM

    Originally posted by: Srikrishan


    The file mode is sometimes not enough(or makes to too complex) to specify all required access policies on a file/dir.

    ACLs let you have a finer control on the the access to a file.
    For your problems ACL on the file will look something like(GROUPX is allowed but user USERY belonging that group is denied access):

    ===
    user:USERY:rwx:deny
    group:GROUPX:rwx:allow
    ====

    Format differs based on platform/types of ACL(posix/NFS4 etc)
    There are many resources available for ACLs on all platforms.

    e.g
    http://www.ibm.com/developerworks/aix/library/au-acl/index.html
    -Sri