Strange permissions on mounted dvd
Jonas Norlander
jonorland at gmail.com
Sat Dec 20 20:33:05 UTC 2008
Hi!
I have installed Intrepid on a friends computer (trying to convert him).
But i have problem with the permissions on mounted dvd/cd. It looks to
be HAL related but i have no idea where to go from here. I hoping for
the community for a fast fix before he gives up and reinstalling
Windows XP.
Permissions in /media before and after a DVD is mounted. Makes no
difference if i mount it with mount from a terminal or from dolphine.
$ ls -l /media/
lrwxrwxrwx 1 root root 6 2008-11-20 19:06 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-11-20 19:06 cdrom0
$ ls -l /media/
lrwxrwxrwx 1 root root 6 2008-11-20 19:06 cdrom -> cdrom0
dr--r--r-- 30 4294967295 4294967295 3024 2008-08-02 11:17 cdrom0
See that strange owner and group id on the mountpoint?
$ LANG=C ls -l /media/cdrom0/
ls: cannot access /media/cdrom0/20 Golden Love Songs Vol.1 (2007) -
Easy Listening: Permission denied
ls: cannot access /media/cdrom0/A Tribute To Abba (metal): Permission denied
<snip>
?????????? ? ? ? ? ? 20 Golden Love Songs Vol.1 (2007) -
Easy Listening
?????????? ? ? ? ? ? A Tribute To Abba (metal)
No problems as root:
$ sudo LANG=C ls -l /media/cdrom0/
total 76
dr--r--r-- 2 4294967295 4294967295 2736 Jul 30 00:16 20 Golden Love
Songs Vol.1 (2007) - Easy Listening
dr--r--r-- 2 4294967295 4294967295 1576 May 24 2008 A Tribute To Abba (metal)
Output from mount for the dvd:
/dev/scd0 on /media/cdrom0 type udf (ro,nosuid,nodev,utf8,user=stefan)
$ grep stefan /etc/passwd
stefan:x:1000:1000:Stefan Gjersvold:/home/stefan:/bin/bash
$ groups stefan
stefan adm dialout cdrom audio video plugdev users scanner lpadmin
admin sambashare
I have searched the net and ubuntu bugs but no clues. I don't know
where to go from here. Has someone seen something like this before or
know what the cause could be?
/ Jonas
More information about the kubuntu-users
mailing list