How to set umask 002 for all files lsphp/ols creates?

#1
Hi all.

files are currently created rw-r-r by OLS . I need them rw-rw-r (umask 002).
I do not find any settings in the admin panel. Any proposals how to change this? (all users in my Ubuntu system can create files with umask 002). The lsphp or ols config seems to limit this? How to change? php.ini? Anywhere else? How?

Backgroud:
OLS uses user nobody nogroup
My FTP and other tools, like Apache use user www-data, www-data.

If only user can write, this is then a conflict.
 

Cold-Egg

Administrator
#2
To make ftpuser to have permission access the document root. You could add the ftpuser to the www-data group.

If you really want to implement umask globally, please check this post.
 
Top