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

Thomas Binder binder at arago.de
Thu Jun 27 20:13:04 EST 2002


Hi!

On Wed, Jun 26, 2002 at 03:30:11PM -0400, Jim Knoble wrote:
> No.  Bad.  /var/empty should be mode 0755, owner 0 (root), group
> 0 (root, wheel, sys, or whatever it is on your system).

Btw, there's one discrepancy between what README.privsep (and you)
say(s) and what make install does:

README.privsep:

mkdir /var/empty
chown root:sys /var/empty
chmod 755 /var/empty

Makefile.in:

$(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH)
chmod 0700 $(DESTDIR)$(PRIVSEP_PATH)

Note that make install will create the directory with 0700, while
README.privsep propagates 0755. Which mode is the one to use? From
my tests, it works with both, but IMO it would be better to sync
README.privsep and Makefile.in in that respect.


Ciao

Thomas


-- 
Pilfering Treasury property is paticularly dangerous: big thieves are
ruthless in punishing little thieves.
		-- Diogenes



More information about the openssh-unix-dev mailing list