Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 2002 12:25:15 -0700
From:      "Firsto Lasto" <firstolasto@hotmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   related jail topic - /dev/null often and regularly reverts permissions...
Message-ID:  <F354C0ydXtfGkeIByvU00007605@hotmail.com>

next in thread | raw e-mail | index | archive | help

If you run a jail, and inside that jail is a /dev with the file /dev/null in 
it, the normal 0666 permissions of /dev/null will often get changed to 0600.

I cannot see any reason why this would happen - I thought maybe there was 
something in /etc/rc that would do it, but there is not.  Further, the 
reversions seem random and irregular - happens in some jails, doesn't in 
others.

I have witnessed this on multiple jails in multiple different physical 
machines, on versions from 4.4 to 4.6.2.

Anyone have any ideas why this happening ?  Has anyone else seen this ?

Perhaps /dev/null is not the only one this happens to, but just the most 
noticable one ? (many programs break when /dev/null is 0600)



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F354C0ydXtfGkeIByvU00007605>