LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-15-2004, 04:26 PM   #1
raxxal
Member
 
Registered: Jul 2004
Location: Los Angeles
Distribution: Mandrake 2007
Posts: 109

Rep: Reputation: 15
setfacl: test: Operation not supported


I am trying to fine tune some file permeation using acl, but I keep getting this error:
setfacl -m u:alex:r test
setfacl: test: Operation not supported

I check my kernel under file system,, and is supposed to have acl enable. It says ACL support "y" Any idea gurus out there?
 
Old 03-02-2005, 10:38 AM   #2
SonJelfn
Member
 
Registered: Aug 2003
Location: Sendai, Japan
Distribution: Slackware, Slackware64, Debian
Posts: 63

Rep: Reputation: 17
Hello. I was browsing the 0 replies thread and though I might give this a go. If you are absolutely certain that you have complied ACLs into your kernel and are still getting this error:

setfacl: test: Operation not supported

then check your /etc/fstab. For ACLs to work you have to mount whatever partition you want with the option acl. As an example, notice /home:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/home /home ext3 rw,acl 1 2

I hope this helps, that is if you haven't already solved this. Good luck.
 
1 members found this post helpful.
Old 03-03-2006, 02:16 PM   #3
sakthi00
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
setfacl: test: Operation not supported

Hi ,

Is the solution worked for you?iam also getting the same Erro message when i add new user.Pls reply.

# setfacl -m u:test:rw- test1
setfacl: test1: Operation not supported


-saral
 
Old 09-14-2006, 01:24 PM   #4
Oras
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
That didn't work for me, I'm using FC5, kernel: 2.6.17-1.2157_FC5
but I did the following:
#yum install acl

then I made the /etc/fstab:
LABEL=/boot /boot ext3 defaults,acl 0 2

And restarted ... everything is working ok now.
wish this help
 
Old 05-24-2007, 05:47 AM   #5
Compi
LQ Newbie
 
Registered: May 2007
Posts: 1

Rep: Reputation: 0
setfacl: vol6: Operation not supported

Hello,

before posting this I tried the hints given above.
Here comes the problem:
Code:
sv115n:/daten # setfacl --test -m g:admins:rwx vol6
vol6: u::rwx,g::r-x,g:admins:rwx,m::rwx,o::r-x,*
works fine. But
Code:
sv115n:/daten # setfacl -m g:admins:rwx vol6
setfacl: vol6: Operation not supported
fails.
The partition /dev/sda6 is located in an extended partition /dev/sda3 .
Machine is running under SLES10 with Kernel 2.6.16.21-0.8-smp .
The snapshot from fstab:
Code:
/dev/sda10           /daten/vol6/         reiserfs   acl,user_xattr        1 2
The snapshot from partition table:
Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         523     4200966   82  Linux swap / Solaris
/dev/sda2   *         524        3134    20972857+  83  Linux
/dev/sda3            3135       35642   261120510    f  W95 Ext'd (LBA)
/dev/sda5            3135        7834    37752718+  83  Linux
/dev/sda6            7835        8879     8393931   83  Linux
/dev/sda7            8880        9402     4200966   83  Linux
/dev/sda8            9403       10577     9438156   83  Linux
/dev/sda9           10578       11883    10490413+  83  Linux
/dev/sda10          11884       12406     4200966   83  Linux
/dev/sda11          12407       16323    31463271   83  Linux
/dev/sda12          16324       17759    11534638+  83  Linux
Thanks for your advices solving this problem!
 
Old 08-15-2008, 02:08 PM   #6
mweed
Member
 
Registered: Mar 2006
Posts: 33

Rep: Reputation: 17
Verify you have the acl package installed:

for redhat:
Code:
rpm -q acl
Verify that the fs has acl in fstab. for instance:
Code:
LABEL=/                 /                       ext3    defaults,acl    1 1
Remount the filesystem:
Code:
mount -o remount /
Check to make sure that it IS mounted with acl:
Code:
mount | grep acl
/dev/sda2 on / type ext3 (rw,acl)
Try the test again!
 
Old 10-25-2012, 05:09 AM   #7
znoop
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by mweed View Post
Verify you have the acl package installed:

for redhat:
Code:
rpm -q acl
Verify that the fs has acl in fstab. for instance:
Code:
LABEL=/                 /                       ext3    defaults,acl    1 1
Remount the filesystem:
Code:
mount -o remount /
Check to make sure that it IS mounted with acl:
Code:
mount | grep acl
/dev/sda2 on / type ext3 (rw,acl)
Try the test again!
Thanks alot Mweed, it worked perfectly on slackware 13.37
All i had to do is add in fstab "acl" and remount /
Cheers!
 
  


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
port: SIOCSIFMAP: Operation not supported Kostko Linux - Networking 5 10-14-2007 09:52 AM
can't do iwlist scan : operation not supported flowchartz Linux - Wireless Networking 7 02-09-2006 07:39 PM
wpasupplicant: operation not supported error Markup Linux - Wireless Networking 1 09-14-2005 09:20 AM
Set Encode - Operation not supported error notmetoo Linux - Wireless Networking 3 02-16-2005 05:50 AM
SET failed on device eth0 ; Operation not supported. rickenbacherus Linux - Wireless Networking 1 04-24-2004 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:38 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