Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi I'm studying for RHCT and try to solve ACL problems. I did everything but when a user tries to reach a file from another user's directory I get permission denied message. I want to show you something:
tristan@fc2 tristan]$ setfacl -m u:tippy:rwx,g:lensmen:rwx pizza
It seems ok, but when tippsy tries to read file in user axel's directory I get permission denied message. I tried it without mask, but result was same. Please help me, what did I do wrong? I applied "chmod 700 /home/axel/" before setfacl command as shown in Michael Jang's RHCE book, mount and remount /home with acl, wrote acl command in /etc/fstab/
Actually, by default, RHEL5 creates HDD mounts with acl option turned on at install time.
However, if you've got a disk mounted that doesn't have acls enabled, its
mount -o remount,acl /home
'mount' with no options only mounts a disk that is not currently mounted. You have to force a remount (above) to change the settings on a mounted disk.
thank you for your responses. I was trying to solve questions about ACLs. here is the situation:
Q:Set up ACL list on /home, set up project.test on mike's home directory. Configure ACL on project.test to allow user donna to read this file.
I created the file as user mike, then changed the ACL settings of project.test file by using:
chmod u+rwx /home/mike/project.test
chmod g+rwx /home/mike/project.test
chmod o-rwx /home/mike/project.test
then I use: setfacl -m user:donna:r-- /home/mike/project.test
when I use getfacl command i get:
user:rwx
user:donna:r--
group:rwx
mask:rwx
other:---
however when I login as donna and try to read the file by "cat" or open it by "vi" I get permission denied message.
by the way the output of ls -ld /home/mike/project.test :
-rwxrwx---+ 1 mike mike ...... /home/mike/project.test
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.