Answer the question
In order to leave comments, you need to log in
Why when creating a folder via CMS(Bitrix) acl can be set incorrectly?
Good afternoon! There is a problem, when creating a folder in the CMS(Bitrix) admin panel, the mask that is set on the folder is mask::rx , the full output of getfacl is given below. When creating a folder via mkdir on behalf of the user under which the web server is running, the rights are correct. The test-folder folder is created in the CMS admin panel.
# file: test-folder/
# owner: web-server
# group: web-server
user::rwx
user:web-server:rwx #effective:rx
user:webdev:rwx #effective:rx
group::rwx #effective: rx
mask::rx
other::rx
default:user::rwx
default:user:web-server:rwx
default:user:webdev:rwx
default:group::rwx
default:mask::rwx
default:other::rx
Answer the question
In order to leave comments, you need to log in
So, I figured it out, the fact is that the chmod command changes the mask when changing the rights to the group. Bitrix has a dbconn.php file, in which the value of the files created by default was 644, so the rx mask was in the created directories.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question