Answer the question
In order to leave comments, you need to log in
How to set such an ACL?
ordered setfacl -dRm u:www:rwx,g:www:rwx /folder
, finally received
# file: folder
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
default:user::rwx
default:user:www:rwx
default:group::r-x
default:group:www:rwx
default:mask::rwx
default:other::r-x
chown -R www:www folder
chmod -R 0770 folder
# file: folder
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
default:user::---
default:user:www:rwx
default:group::---
default:group:www:rwx
default:mask::rwx
default:other::---
touch folder/file
# file: folder/file
# owner: root
# group: root
user::---
user:www:rwx #effective:rw-
group::---
group:www:rwx #effective:rw-
mask::rw-
other::---
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