Computing.Net > Forums > Solaris > setfacl says Operation not applicab

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

setfacl says Operation not applicab

Reply to Message Icon

Name: GoranTornqvist
Date: July 11, 2006 at 06:54:33 Pacific
OS: SunOS 5.8 Generic_108528-
CPU/Ram: 1 GHz/4 GB
Product: SunFire 280
Comment:

I trying to add a new mount in /etc/mnttab on a server.

The file permissions are read-only:

bash-2.03# ls -l /etc/mnttab
-r--r--r-- 1 root root 474 Jul 6 23:11 /etc/mnttab

I can't chmod the file:

bash-2.03# chmod u+w /etc/mnttab
chmod: WARNING: can't change /etc/mnttab

So my guess was that there“s an ACL on the file, tried to change to read-write:

bash-2.03# setfacl -m user::rw- /etc/mnttab
/etc/mnttab: failed to set acl entries
setacl error: Operation not applicable

bash-2.03# getfacl /etc/mnttab

# file: /etc/mnttab
# owner: root
# group: root
user::r--
group::r-- #effective:r--
mask:rwx
other:r--

I'm stuck...what can I do to fix this?

Thanks...



Sponsored Link
Ads by Google

Response Number 1
Name: GoranTornqvist
Date: July 11, 2006 at 23:18:03 Pacific
Reply:

doh, its the file /etc/vfstab that should be changed, not mnttab!


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: setfacl says Operation not applicab

Not able to share folders www.computing.net/answers/solaris/not-able-to-share-folders/3837.html

i can not run a script www.computing.net/answers/solaris/i-can-not-run-a-script/4113.html

how can I set ACL? www.computing.net/answers/solaris/how-can-i-set-acl/159.html