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.

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to