GoranTornqvist
Technical User
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...
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...