Subject: port-alpha/6340: installation and security check script do not agree
To: None <gnats-bugs@gnats.netbsd.org>
From: Der Beagle <parsely!sopwth.UUCP!snoopy@[199.2.210.148]>
List: netbsd-bugs
Date: 10/21/1998 16:44:38
>Number:         6340
>Category:       port-alpha
>Synopsis:       installation and security check script do not agree
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 21 09:50:00 1998
>Last-Modified:
>Originator:     Der Beagle
>Organization:
	The Daisy Hill Puppy Farm
>Release:        NetBSD-1.3.2
>Environment:
	DEC Alpha, Multia/UDB
	Fresh install of NetBSD 1.3.2

System: NetBSD sopwith 1.3.2 NetBSD 1.3.2 (GENERIC) #0: Mon May 11 16:01:27 PDT 1998 cgd@notunix:/udir/cgd/NETBSD/src.1.3.2/sys/arch/alpha/compile/GENERIC alpha


>Description:
	/dev/MAKEDEV chowns /dev/fd to bin.bin and chmods it to 555,
	but the daily security checking script doesn't like this:

Checking special files and directories.
dev/fd: user (0, 3)
        gid (0, 7)
        permissions (0755, 0555)

>How-To-Repeat:
	su
	cd /dev
	./MAKEDEV fd
	sh /etc/security

	should do it, or do a fresh install and wait from the
	cron job to run
>Fix:

	Change /etc/mtree/special and/or /dev/MAKEDEV so that they agree
	on what /dev/fd ownership and permissions should be.
>Audit-Trail:
>Unformatted: