On Sat, 12.04.14 12:14, Tanu Kaskinen (tanu.kaski...@linux.intel.com) wrote:

> Hi,
> 
> The systemd.socket man page says that the default value for
> DirectoryMode is 0755. Judging from the code in the socket_init()
> function, the documentation matches the implementation. 0755 seems
> appropriate for the system mode, but wouldn't 0700 be better for the
> user mode? Likewise for the default socket mode 0666 vs. 0600, and
> probably similar permissions are specified elsewhere too.

The usual approach for user code is to keep things as closed as necessary
and as open as possible and leave the rest to the user with umask or
parent directories. 

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to