Subject: misc/3858: /dev/MAKEDEV and /etc/mtree/* disagree on /dev/fd ownership and permissions
To: None <>
From: None <>
List: netbsd-bugs
Date: 07/13/1997 07:56:35
>Number:         3858
>Category:       misc
>Synopsis:       /dev/MAKEDEV and /etc/mtree/* disagree on /dev/fd ownership and permissions
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 13 07:05:00 1997
>Originator:     Jim Bernard
	speaking for myself
>Release:        July 12, 1997
System: NetBSD zoo 1.2G NetBSD 1.2G (ZOO) #0: Sat Jul 12 16:26:42 MDT 1997 jim@zoo:/jaz/home/local/compile/sys/arch/i386/compile/ZOO i386

	/dev/MAKEDEV (all ports except sun3) says:
	  chown -R bin.bin fd
	  chmod 555 fd
	(sun3 just uses defaults, with umask 77)

	/etc/mtree/NetBSD.dist says:
	  /set type=dir uname=root gname=wheel mode=0755
	  # ./dev/fd

	/etc/mtree/special says:
	  fd              type=dir mode=0755 uname=root gname=wheel ignore

	Read daily insecurity output; find complaint:
	  dev/fd: user (0, 3)
		gid (0, 7)
		permissions (0755, 0555)
	after each new installation.
	Change etc/etc.*/MAKEDEV or change etc/mtree/{NetBSD.dist,special}.