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 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel