2016-10-28 3:38 GMT+02:00 Fred Smith <fre...@fcshome.stoneham.ma.us>:
> On Thu, Oct 27, 2016 at 03:57:18PM -0400, Alex wrote:
>> Hi,
>>
>> I posted a message the other day regarding changing the umask for
>> users in an apache DocumentRoot on a fedora24 system and haven't
>> received any responses. Maybe my question too confusing with the
>> DocumentRoot discussion.
>>
>> Does anyone know how to reliably change the umask for regular users
>> (specifically the apache user) on fedora24?
>
> put a umask command in the user's .bash_profile?

If it is running as a service, you also have the UMask directive.

# systemctl edit httpd.service

[Service]
UMask=0002


-- 
Juan Orti
https://apuntesderootblog.wordpress.com/
GPG: 61F0 8272 6882 BCA6 3A35  88F6 B630 4B72 DEEB D08B
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to