[systemd-devel] root directory permissions vs OpenSSH chroot

Albert Strasheim fullung at gmail.com
Sat Jun 4 13:56:15 PDT 2011


Hello all

OpenSSH has a chroot feature, but for it to work, the root directory
must have permissions of 0755 otherwise one gets the error:

sshd[15705]: fatal: bad ownership or modes for chroot directory component "/"

Is this something that systemd can control or fix when it starts? It
seems to be defaulting to 0775 on my Fedora 15 system.

Regards

Albert


More information about the systemd-devel mailing list