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
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
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
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 deepakNow 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
drwxrwxr-x+ 2 root root 4096 Sep 24 16:14 deepakNow 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
user::rwx
user:test:rwx
group::r-x
mask::rwx
other::r-xSo 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?
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?
What is the plus (+) sign in permission in Linux ?
Reviewed by Deepak Prasad
on
Wednesday, December 25, 2013
Rating:
.png)


No comments: