On Wednesday 11 June 2003 16:54, Robin H.Johnson wrote: > On Wed, Jun 11, 2003 at 03:31:00PM -0700, Zack Gilburd wrote: > Content-Description: signed data > > > On Tuesday 10 June 2003 00:41, Laurence Baldwin wrote: > > > In the proccess of swopping my hdd around Ive managed to change all the > > > permissions of my /dev/* to root:root. > > > > > > Is there any easy way I can fix this? I dont have another gentoo box I > > > can look at :( > > > > Everything in dev should be owned by root. > > Actually, you are partially in error there. > While the great majority of the devices are owned by root:root, there are a > number that have other owners and groups. > > files in /dev/pts/ should be explictly owned by the user on that shell, > with a group of 'tty'. > > /dev/floppy/* should have a group of 'floppy' so that you can let local > users mount and handle floppy disks without root access. > The cdrom devices (/dev/ide/host?/bus?/target?/lun?/cd) have a group of > 'cdrom' for the same reason. > > /dev/tts/* are generally root.root, or root.serial. In special cases > they may be owned by other users, particually when used with a UPS. > > There is plenty more stuff like this. I suggest looking at > /etc/devfsd.conf for some more of it. Effectively, yes. I wasn't quite clear enough, I suppose. I mean to say that all *hard drive* devices are owned by root:root. (Or at least they should be.) -- Zack Gilburd http://tehunlose.com
pgp00000.pgp
Description: signature
