Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setfacl says Operation not applicable

Status
Not open for further replies.

GoranTornqvist

Technical User
May 29, 2006
5
GR
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...
 
From Solaris 8 onwards, /etc/mnttab is a read-only file that is a 'mntfs' file system. Its information comes directly from the kernel. If you want to change what is mounted at boot time, change the /etc/vfstab file.

I hope that helps.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top