[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: Changing umask in fedora24
From:       Juan Orti Alcaine <j.orti.alcaine () gmail ! com>
Date:       2016-10-28 13:58:56
Message-ID: CAC+fKQUZKzhbCRx95_9cc_j1d_EtmwPbvvGzHHmDe=6EZQLESQ () mail ! gmail ! com
[Download RAW message or body]

2016-10-28 3:38 GMT+02:00 Fred Smith <fredex@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-leave@lists.fedoraproject.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic