udev permission problem - dvd-ram mounts only read/writeable for root

Phillip Susi psusi at cfl.rr.com
Mon Feb 13 19:16:32 UTC 2006


Do you have an entry for this drive in /etc/fstab?  AFAIK, 
gnome-volume-manager does not run until you log in, so it can't mount 
the media with uid=root.  If you have an entry in your /etc/fstab 
though, that will be used to mount it at boot time, and g-v-m will use 
those settings as well, rather than the defaults, which specify the uid 
of the currently logged in user.

Michael Vert wrote:
> 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
> 
> I was wondering, why can I access my USB stick without problems, but not
> the USB DVD writer.
> 
> The answer is simple:
> The DVD writer was plugged during boot, while I plugged in my USB stick
> while I was logged in and running the desktop.
> 
> In the first case, root is running the mounts, thus creating a link in
> /media which only root can access; while in the second case, the volume
> manger was running with my user ID, the link get my ID, and I can access
> it as normal user.
> 
> Is there a way to fine tune the automount process?
> 
> 
> 
> 





More information about the ubuntu-users mailing list