apache umask - have the apache user create new files with 664 permissions

0

I'm running a Amazon EC2 instance - Amazon Linux release 2 (Karoo).

The apache server sets files it creates with the permissions 644. I want them to be 664. I've tried changing the umask setting to 002 (from 022) in every single line that has 'umask' in the /etc folder and sub-folders. This didn't seem to work. I also tried various solutions on the Internet about having the specific service set the umask to no avail.

Thanks.

已提问 1 年前37 查看次数