Date: Tue, 9 Mar 2004 21:00:34 -0800 (PST) From: Edwin Groothuis <edwin@mavetju.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/63954: devfs looses permissions Message-ID: <200403100500.i2A50Yor037736@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/63954; it has been noted by GNATS. From: Edwin Groothuis <edwin@mavetju.org> To: freebsd-gnats-submit@FreeBSD.org Cc: Colin Percival <colin.percival@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@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@k7>groups edwin wheel [~] edwin@k7>tcpdump -ni fxp0 tcpdump: (no devices found) /dev/bpf2: Permission denied Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://weblog.barnet.com.au/edwin/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403100500.i2A50Yor037736>