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