Re: How to set umask for apache2

2025-05-28 Thread Chris Green
Greg Wooledge wrote: > On Wed, May 28, 2025 at 15:34:39 +0100, Chris Green wrote: > > ... and I have set UMask in the systemd apache2.service:- > > > > chris$ more /etc/systemd/system/apache2.service.d/override.conf > > [service] > > UMask=0002 > > Shouldn't that square-bracket heade

Re: How to set umask for apache2

2025-05-28 Thread Greg Wooledge
On Wed, May 28, 2025 at 15:34:39 +0100, Chris Green wrote: > ... and I have set UMask in the systemd apache2.service:- > > chris$ more /etc/systemd/system/apache2.service.d/override.conf > [service] > UMask=0002 Shouldn't that square-bracket header be capitalized? [Service] instead o

Re: How to set umask for apache2

2025-05-28 Thread Max Nikulin
On 28/05/2025 21:34, Chris Green wrote: chris$ more /etc/systemd/system/apache2.service.d/override.conf [service] UMask=0002 [...] chris$ systemctl show apache2.service | grep -i umask UMask=0022 So why can't I set it!!?? I think, you can, but you need to fix a typo

Re: How to set umask for apache2

2025-05-28 Thread Šarūnas Burdulis
On 5/28/25 10:34 AM, Chris Green wrote: [...] ... and I have set UMask in the systemd apache2.service:- chris$ more /etc/systemd/system/apache2.service.d/override.conf [service] UMask=0002 It may necessary to reset UMask first, i.e.: [Service] UMask= UMask=0002 -- Šarūnas Bur

How to set umask for apache2

2025-05-28 Thread Chris Green
I am running apache2 on my debian 12 system. I am trying to set the umask for apache2 to 0002 but I'm failing miserably. I have set umask in both /etc/apache2/envvars:- chris$ tail -10 /etc/apache2/envvars ## Enable the debug mode for maintainer scripts. ## This will produce a verbos