Le Sat, 01 Nov 2008 21:06:15 +1300 Simon Geard <[EMAIL PROTECTED]> a écrit :
> On Fri, 2008-10-31 at 14:38 +0100, Nicolas FRANCOIS wrote: > > ...with my brain, I'm quite sure. > > > > I have serious problems with devices permissions : I can read a DVD with > > MPlayer being root, but not being me. Same thing with gphoto2 : I can > > download the photos from my camera being root, but not as a normal user. > > > > My normal user belongs to disk, usb, video, haldaemon... I don't know > > what to add ! Some of the devices created by udev in the dev directory do > > seem to be owned by root, so this may be the problem. > > Who owns, and with what permissions, the devices you're having problems > with. On system the DVD drive (/dev/sr0) is owned by 'root', group owned > by 'disk', and readable/writable by both. The same is true of all disk > devices, whether internal or external. I assume you should see something > similar, since I've done nothing to customise this. The problem seems to come from the symlinks : if I use /dev/hdd, which is, as you mention, owned by root.disk, I can, being a member of disk, read it. But if I use the symlink /dev/dvd, then I have a permission error. Something that looks similar : an error while reading Dvd on mplayer : "Can't open /dev/dsp". I still can hear the sound, just this silly message at the start of every video reading (DVD or not). \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
