* Re: [gentoo-user] /dev permissions
[not found] <200506191809.41329.sundiatah@comcast.net>
@ 2005-07-19 1:28 ` Chris Cox
0 siblings, 0 replies; only message in thread
From: Chris Cox @ 2005-07-19 1:28 UTC (permalink / raw
To: gentoo-user
On Sunday 19 June 2005 06:09 pm, Qv6 wrote:
> Hello:
>
> Just looked under /dev and observed that the ownership of all the
> entries are root:root with mostly 555 permissions. Is this the default
> or do I have to change anything? Here's a snip from "ls -l /dev"
>
> lr-xr-xr-x 1 root root 10 Jun 17 06:55 adsp -> sound/adsp
> lr-xr-xr-x 1 root root 12 Jun 17 06:55 agpgart -> misc/agpgart
> lr-xr-xr-x 1 root root 11 Jun 17 06:55 audio -> sound/audio
> lr-xr-xr-x 1 root root 13 Jun 17 06:55 cdrom -> cdroms/cdrom0
> drwxr-xr-x 1 root root 0 Dec 31 1969 cdroms
>
> drwxr-xr-x 1 root root 0 Dec 31 1969 discs
> drwxr-xr-x 1 root root 0 Jun 17 06:55 dri
> lr-xr-xr-x 1 root root 9 Jun 17 06:55 dsp -> sound/dsp
> lr-xr-xr-x 1 root root 8 Jun 17 06:55 dvd -> /dev/hdc
>
> drwxr-xr-x 1 root root 0 Dec 31 1969 floppy
>
> drwxr-xr-x 1 root root 0 Dec 31 1969 usb
>
> Is this the reason why I cannot play dvd movies?
>
They all say root:root because those are symlinks that point to a
directory/file. So, the entry:
lr-xr-xr-x 1 root root 13 Jun 17 06:55 cdrom -> cdroms/cdrom0
would point to:
brw-rw---- 1 root cdrom 22, 0 Jul 18 19:27 hdc
Notice the permission is root:cdrom and not root:root. Hope this info helps
clear things up.
--
Chris
Linux 2.6.12-gentoo-r5 i686 AMD Athlon(tm) XP
20:24:28 up 1 day, 11:56, 5 users, load average: 0.78, 0.90, 0.86
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread