[systemd-devel] Default file permissions in user mode

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Sat Apr 12 02:14:59 PDT 2014


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.

-- 
Tanu


More information about the systemd-devel mailing list