Displaying 2 results from an estimated 2 matches for "fs_chmod_fil".
Did you mean:
fs_chmod_file
2020 Jul 15
2
Apache umask
On 7/15/20 2:39 AM, Gianluca Cecchi wrote:
> On Wed, Jul 15, 2020 at 2:39 AM Emmett Culley via CentOS <centos at centos.org <mailto:centos at centos.org>> wrote:
>
>
> Thanks for the info.? I hadn't seen that before nor many of the links.? I had seen the suggested systemd fix, but have never been able got them to work. And I've tried many combinations.? Still
2020 Jul 15
0
Apache umask
...e site, I have to
> log into the server and change the permissions every time they update
> the site.? Or even to update most plugins.
This is best addressed in the application.
For example in wordpress you can set
define( 'FS_CHMOD_DIR', ( 0775 & ~ umask() ) );
define( 'FS_CHMOD_FILE', ( 0664 & ~ umask() ) );
> Wprdpress sites are better, but even then, I still sometimes need to set
> and unset explicit file permissions depending on the plugins installed.
>
> All this would not be an issue if apache created files with a unask of
> 002.? One simple...