udev permission problem - dvd-ram mounts only read/writeable for root
Michael Vert
vmike at gmx.net
Sun Feb 12 11:52:05 UTC 2006
Tod Merley wrote:
> Subject: Re: udev permission problem - dvd-ram mounts only
> read/writeable for root
[...]
> Ok... a few hours later, and a few how-to's smarter ... :-)
>
> The culprit isn't udev. Udev is doing everything as it is supposed to...
>
> The problem is the gnome-volume-manager.... and in its wake: pmount
[...]
> Is there a way to fine tune the automount process?
[...]
> Hi Michael!
>
> I am still "getting my feet wet" and this could be a bit of a distraction.
> Please take a look at:
[...]
> man 5 console.perms
>
> And what is in the directory:
>
> ls /etc/security/console.perms.d -l
Thank you for the hint, but neither file exist in my Ubuntu Breezy
installation.
As I see it now, the problem consists of two parts:
1) wrong permissions of the mount point
2) wrong permissions of the data on the DVD-RAM itself
1) A work-around for this is to create a permanent mount point in /media
(e,g, /media/dvdram) with the correct permissions and an entry in
/etc/fstab - This will have precedence over the one created "on the fly"
by the gnome-volume-manager.
2) It seems that files and directories on a udf file system (used by
DVD-RAM) do not have owner/user ids. Therefore the mount options "uid"
and "gid" give a specific value that SHOULD be returned to the operating
system. (When mounting a MSDOS FAT file system, the same trick is used).
But this does not work (neither via the volume-manager nor via /etc/fstab).
After some googeling I found out that this is a kernel bug which has
been corrected in 2.6.15-mm ...
A last question: Where do the names for the devices come from (e.g.
/media/cdrecorder). Are they hard-coded in gnome-volume-manager or is
there a config file involved?
Mike
More information about the ubuntu-users
mailing list