From: Chris Cox <yeahsowhat@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /dev permissions
Date: Mon, 18 Jul 2005 20:28:23 -0500 [thread overview]
Message-ID: <200507182028.23335.yeahsowhat@gmail.com> (raw)
In-Reply-To: <200506191809.41329.sundiatah@comcast.net>
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
parent reply other threads:[~2005-07-19 1:34 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <200506191809.41329.sundiatah@comcast.net>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200507182028.23335.yeahsowhat@gmail.com \
--to=yeahsowhat@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox