kern/63954: devfs looses permissions

Edwin Groothuis edwin at mavetju.org
Tue Mar 9 21:00:35 PST 2004


The following reply was made to PR kern/63954; it has been noted by GNATS.

From: Edwin Groothuis <edwin at mavetju.org>
To: freebsd-gnats-submit at FreeBSD.org
Cc: Colin Percival <colin.percival at wadham.ox.ac.uk>
Subject: Re: kern/63954: devfs looses permissions
Date: Wed, 10 Mar 2004 15:53:50 +1100

 On Tue, Mar 09, 2004 at 08:40:11PM -0800, Colin Percival wrote:
 >     Maybe I'm missing something, but I can't see any
 >  permissions being lost.  I see device nodes being
 >  removed, but that's all.
 
 Yes they are removed. That's part of the problem, because when
 they're (tried to be) opened again, I get a permission denied.
 
 >     What happens if you start a few tcpdump processes
 >  and the nodes are recreated?
 
 [~] edwin at 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
 
 [~] edwin at k7>groups
 edwin wheel
 
 [~] edwin at k7>tcpdump -ni fxp0
 tcpdump: (no devices found) /dev/bpf2: Permission denied
 
 Edwin
 -- 
 Edwin Groothuis      |            Personal website: http://www.mavetju.org
 edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the freebsd-bugs mailing list