Answer the question
In order to leave comments, you need to log in
Root ignores acl?
Good night habrazhiteli!
Given:
Partition with ext4, mounted with acl option
Shared folder via samba
ACL rights assigned to the folder:
# owner: nobody
# group: nogroup
user::rwx
user:nobody:rwx
group::rx
mask::rwx
other::rx
default :user::rwx
default:user:nobody:rwx
default:group::rwx
default:mask::rwx
default:other::rx
In theory, any file created by anyone in this folder should always be writable by user nobody
But after copied using Midnight Commander as root, the new copied file has the following rights
# owner: root
# group: root
user::rw-
user:nobody:rwx #effective:r--
group::rwx #effective:r--
mask::r--
other::r--
Enable/disable the "Keep attributes" option in the Midnight copy dialog Commander has no effect.
As a crutch, the problem is treated with the setfacl -R -mm:rwx /path-to-folder command.
Please help with advice - how to make ACL work for the root user as well.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question