bad owner on /var/empty: RH6.2 sparc 3.4p1

Jim Knoble jmknoble at pobox.com
Fri Jun 28 05:03:04 EST 2002


Circa 2002-Jun-27 13:28:24 +0200 dixit Dag-Erling Smorgrav:

: Thomas Binder <binder at arago.de> writes:
: > Note that make install will create the directory with 0700, while
: > README.privsep propagates 0755. Which mode is the one to use?
: 
: FreeBSD uses 0555 with no apparent trouble.

I suspect that the privsep/chroot directory could even be mode 0111.
sshd complains about it if (a) either chroot() or the subsequent
chdir("/") fails, (b) the privsep directory is owned by anyone other
than root, or (c) the privsep directory is either group- or
world-writeable.

-- 
jim knoble  |  jmknoble at pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 262 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020627/b1c5c1c8/attachment.bin 


More information about the openssh-unix-dev mailing list