[systemd-devel] root directory permissions vs OpenSSH chroot
Lennart Poettering
lennart at poettering.net
Wed Jun 15 11:24:54 PDT 2011
On Sat, 04.06.11 22:56, Albert Strasheim (fullung at gmail.com) wrote:
> 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.
Which dir did you configure as root directory? Why don't you just fix
the access mode of that one once and for all with chmod on the shell?
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list