• 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.

  • Life always offers you a second chance ... Its called tomorrow !!!

    Wednesday, December 25, 2013

    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

    For more tutorials follow the below links

    What is the difference/comparison between Unix and Linux ?
    What are the maximum and minimum limits for RHEL 4 vs 5 vs 6 ?
    Step by Step Linux Boot Process Explained In Detail
    What is the difference between ext3 and ext4 filesystem in Linux ?
    How to configure Private Network in VMware Workstation
    10 examples to help you understand top command usage in Unix/Linux
    Configure Red Hat Cluster using VMware, Quorum Disk, GFS2, Openfiler
    Tutorial for Monitoring Tools SAR and KSAR with examples in Linux
    15 tips to enhance security of your Linux machine
    Why is Linux more secure than windows and any other OS
    Understanding Load Average in Linux and when to be worried about it?
    Disk Attachment Technology FC vs SAS vs iSCSI
    Understanding UMASK value in Linux
    How to keep a track of all the commands run by any user in Linux
    How do you check Linux machine is Physical or Virtual remotely?


    Post a Comment