LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to setfacl in Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-setfacl-in-ubuntu-915104/)

danibhai 11-23-2011 08:34 AM

unable to setfacl in Ubuntu
 
I'm currently working on Ubuntu 10.04 kernel : 2.6.32-28

All i want to setfacl using the command :
setfacl -m u:guest:rw- /var/tmp/fstab

it errors out :operation not supported .

It works fine in Fedora and RHEL ..
I did google out.. it says about mounting the dir using acl paramater..
I'm confused.. can somebody help.

homebrew1075 11-23-2011 11:40 AM

go to /etc/fstab and put in "acl,defaults" instead of just "defaults" wherever your /var filesystem is mounted. Then do a mount -a to remount it. This should allow /var to start using acls.

danibhai 11-24-2011 01:23 AM

Quote:

Originally Posted by homebrew1075 (Post 4531885)
go to /etc/fstab and put in "acl,defaults" instead of just "defaults" wherever your /var filesystem is mounted. Then do a mount -a to remount it. This should allow /var to start using acls.

Thanks homebrew1075.. it worked..


All times are GMT -5. The time now is 11:14 AM.