于 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 that systemd can control or fix when it starts? It、

add ExecStartPre=-/bin/chmod 0755 balabala

> seems to be defaulting to 0775 on my Fedora 15 system.
> 
> Regards
> 
> Albert
> _______________________________________________
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


-- 
我是天马博士,对,就是创造了阿童木的那个天马博士

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to