[systemd-devel] UMask attribute in service file
Oliver Graute
oliver.graute at gmail.com
Wed Feb 1 15:29:27 UTC 2017
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 75 Jan 11 17:30 log_20170111_163024_2.log
> -rw-rw-rw- 1 oliver oliver 75 Jan 11 17:30 log_20170111_163024_3.log
> -rw-rw-rw- 1 oliver oliver 75 Jan 11 17:36 log_20170111_163610_1.log
> -rw-r----- 1 oliver oliver 75 Jan 31 13:38 log_20170131_123842_1.log
> -rw-r----- 1 oliver oliver 75 Jan 31 13:57 log_20170131_125738_2.log
>
> some clue whats going one here?
the reason for this behavior was an umask(0) in a custom library some of
my services used. After I removed this everything is fine.
Best Regards,
Oliver
More information about the systemd-devel
mailing list