• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • What is the plus (+) sign in permission in Linux ?

    So do you see a plus sign in the permission section in any of your directory.

    No need to get confused, well it just means that the directory has extra acl permission. We use acl to give individual permission for users or groups on any directory.

    For eg.
    I have a directory deepak inside my root home directory
    # ls -l | grep deepak
    drwxrwxr-x 2 deepak deepak  4096 Sep 24 16:14 deepak

    Now I want to give a different user test additional rwx full permission on this directory so what am I suppose to do?
     One option is that I will have to add test user to group owner of deepak directory but I really don't want to do that then in those case setfacl plays its role

    # setfacl -m u:test:rwx /root/deepak
    # ls -l | grep deepak
    + 2 root root  4096 Sep 24 16:14 deepak

    Now as you can see an extra plus (+) sign has appeared. But still it does not shows me the acl implemented on that directory.
    # getfacl /root/deepak
    # file: root/deepak/
    # owner: root
    # group: root

    So as you can see all the acl details using the above command. For more detailed help and examples on setfacl follow the below link

    What is the plus (+) sign in permission in Linux ? What is the plus (+) sign in permission in Linux ? Reviewed by admin on Wednesday, December 25, 2013 Rating: 5

    No comments:

    Powered by Blogger.