LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   setfacl: test: Operation not supported (https://www.linuxquestions.org/questions/mandriva-30/setfacl-test-operation-not-supported-266804/)

raxxal 12-15-2004 04:26 PM

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?

SonJelfn 03-02-2005 10:38 AM

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.

sakthi00 03-03-2006 02:16 PM

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

Oras 09-14-2006 01:24 PM

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

Compi 05-24-2007 05:47 AM

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!

mweed 08-15-2008 02:08 PM

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!

znoop 10-25-2012 05:09 AM

Quote:

Originally Posted by mweed (Post 3248841)
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!


All times are GMT -5. The time now is 09:21 AM.