Date: Tue, 9 Mar 2004 12:23:15 +1100 (EST) From: Edwin Groothuis <edwin@mavetju.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/63954: devfs looses permissions Message-ID: <20040309012315.38313618F@k7.mavetju> Resent-Message-ID: <200403090130.i291UK8m020008@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63954 >Category: kern >Synopsis: devfs looses permissions >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 08 17:30:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Edwin Groothuis >Release: FreeBSD 5.2.1-RELEASE i386 >Organization: - >Environment: System: FreeBSD k7.mavetju 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #3: Fri Feb 27 13:54:29 EST 2004 edwin@k7.mavetju:/usr/src/sys/i386/compile/k7 i386 >Description: I have this in /etc/devfs.conf: perm bpf0 640 perm bpf1 640 perm bpf2 640 perm bpf3 640 Running "/etc/rc.d/devfs start" will create the devices: [~] edwin@k7>ls -al /dev/bpf* crw-r----- 1 root wheel 23, 0 Mar 8 16:46 /dev/bpf0 crw-r----- 1 root wheel 23, 1 Feb 27 15:09 /dev/bpf1 crw-r----- 1 root wheel 23, 2 Feb 27 16:46 /dev/bpf3 crw-r----- 1 root wheel 23, 3 Feb 27 16:46 /dev/bpf3 Only to see the next morning: [~] edwin@k7>ls -al /dev/bpf* crw-r----- 1 root wheel 23, 0 Mar 8 16:46 /dev/bpf0 crw-r----- 1 root wheel 23, 1 Feb 27 15:09 /dev/bpf1 (bpf1 is constantly opened by trafshow) "devfs rule showsets" and "devfs rule show" don't return any information. >How-To-Repeat: as above >Fix: Any suggestions? >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309012315.38313618F>