[systemd-devel] root directory permissions vs OpenSSH chroot
mk.fraggod at gmail.com
Sun Jun 5 01:51:09 PDT 2011
On Sat, 4 Jun 2011 22:56:15 +0200
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: 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.
Why do you need systemd there? Can't you fix mode of that single path
by issuing one-time chmod command?
Mike Kazantsev // fraggod.net
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the systemd-devel