[systemd-devel] root directory permissions vs OpenSSH chroot

2011-06-04 Thread Albert Strasheim
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 b

Re: [systemd-devel] root directory permissions vs OpenSSH chroot

2011-06-04 Thread 微菜
于 2011年06月05日 04:56, Albert Strasheim 写道: > 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 tha

Re: [systemd-devel] root directory permissions vs OpenSSH chroot

2011-06-05 Thread Mike Kazantsev
On Sat, 4 Jun 2011 22:56:15 +0200 Albert Strasheim 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

Re: [systemd-devel] root directory permissions vs OpenSSH chroot

2011-06-15 Thread Lennart Poettering
On Sat, 04.06.11 22:56, Albert Strasheim (full...@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 "/"