File/Folder Permissions set by NC11 755 vs 750

Hi all,

I was looking where I would be able to change the file and folder permissions set in NC 11.
as we follow the setup manual setting-strong-directory-permissions which shows the best possible permissions for file 0640 for directories 0750 however when a user creates a new folder any way ( andriod app, webdav, browser) the directory is created with 0755 permissions. as for files 0640 for installation but uploaded files get 0644.

Where can I set these permission to be 0750 and 0640 when folders or files are created.

In apache you can set the umask to 007 in /etc/apache2/envvars:

1 Like

Thanks for pointing me to the right direction.

i’ve set ‘umask 027’ to /etc/apache2/envvars to get what I want.
drwxr-x— 2 www-data www-data 4096 jan 8 00:26 test
-rw-r----- 1 www-data www-data 2 jan 8 00:26 test.txt