LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-29-2008, 11:48 PM   #1
viewcam
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
setfacl: operation not supported


This has appeared on an earlier thread, but the answers don't seem to solve my problem.


setfacl -m u:dan:rwx /test/ghosts

gets the "operation not supported error."

apt-get and synaptic both report acl functionality is loaded.

Have added the acl switch in /etc/fstab, remounted, umount-ed and mount-ed several times.

fstab: LABEL=final /test ext3 user,defaults,error=remount-rw,acl 0 2

setfacl -t -m u:dan:rwx /test/ghosts

reports the correct result.

Any (other) ideas?

Thanks

Peter McDonald.
 
Old 12-01-2008, 01:51 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Just to make sure that ACL is activated on the file system, could you provide to output of this:
Code:
dumpe2fs <device> |grep -i "default mount options"
It this says ACL, I'm really not sure whats wrong.
 
Old 12-01-2008, 01:59 AM   #3
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 317
Blog Entries: 1

Rep: Reputation: 35
mount the partition using acl
mount /dev/X -o acl dirname
 
Old 12-01-2008, 03:19 AM   #4
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Quote:
Originally Posted by geniushasan View Post
mount the partition using acl
mount /dev/X -o acl dirname
I think he has already done this in fstab.
 
Old 12-02-2008, 05:01 AM   #5
viewcam
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Smile setfacl: operation not supported

Thanks for the help. The dumpe2fs command and grep-ing for default mount options gave me the clue. It is showing none, but I umounted the device, and then mounted it with -o acl option; then, when I do a mount | grep acl, the device is now mounted with acl supported and allows the setfacl operation.

Thanks again. Much appreciated.

Peter.
 
Old 12-02-2008, 05:07 AM   #6
viewcam
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Syed:

Thanks for your suggestion, I did exactly that, and it worked. The dumpe32fs set off a train of thought, so then I grepped the mount output for acl and showed none, I figured it hadn't mounted properly from fstab. Mounting directly, with -o acl was the answer.

Cheers,

Peter.
 
Old 12-02-2008, 05:50 AM   #7
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Glad we could help.
 
Old 03-25-2013, 01:01 PM   #8
maccas17
Member
 
Registered: May 2010
Location: UK
Distribution: RHEL6
Posts: 70

Rep: Reputation: 11
I was searching for help and found this post, which I know is a bit old, but I thought I would add my comment for future viewers.

I used the dumpe2fs command and did find that there were no specific mount options set against my filesystem. I added "acl" option to fstab and re-mounted. Dumpe2fs still showed no options set. I decided to check with the mount command and it now showed the acl flag as set:

Code:
dumpe2fs /dev/sda3|grep -i "default mount options"
dumpe2fs 1.41.12 (17-May-2010)
Default mount options:    (none)

mount|grep home
/dev/sda3 on /home type ext4 (rw,acl)
My setfacl command now worked fine
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setfacl: test: Operation not supported raxxal Mandriva 6 10-25-2012 05:09 AM
setfacl: Operation not supported nekton Linux - Security 1 05-09-2008 01:57 PM
setfacl operation not permitted oscarmv Linux - Security 1 05-07-2007 06:19 AM
SIOCETHTOOL: Operation not supported tallen Linux - Newbie 2 01-26-2006 09:28 PM
wpasupplicant: operation not supported error Markup Linux - Wireless Networking 1 09-14-2005 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration