[5521] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: 2 Questions

daemon@ATHENA.MIT.EDU (Eric Smith)
Thu Nov 21 21:30:19 1996

Date: 22 Nov 1996 03:22:04 -0000
From: Eric Smith <eric@brouhaha.com>
To: tdukes@netside.com
CC: redhat-list@redhat.com
In-reply-to: <XFMail.961121165957.tdukes@netside.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

tdukes@netside.com wrote:
> 1)  What should the correct permissions be for /dev?  Last night, I was
> wanting to change them for /home/ftp/dev/ and got /dev by mistake.
> Everything still seems to be working but I'd like to know what they're
> supposed to be out of the box.  I mistakenly changed them to drwx--x--x.

Most of the special files in /dev are from the dev package.  Try running
	rpm -qlv dev | awk '{ system ( "chown " $2 ":" $3 " " $8 ) }'

Be forewarned that I haven't actually tried it.

Cheers,
Eric


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post