On 31/01/17, Oliver Graute wrote:
> Hello list,
>
> some further background:
>
> In my system there are different services started by systemd 225 (all
> with UMask=027). Sometimes files are created with 666 sometimes with
> 640 as I wish.
>
> ls -la
> -rw-r-1 oliver oliver
Hello list,
I'am using the UMask attribute in my service file to define my umask
setting to 0027. In this service file I start a little c program which uses
fopen() to open a file.
the file permissions are
rw-rw-rw (0666)
instead of
rw-r--- (0640)
Is this a expected behavior?
some further