[Pkg-utopia-maintainers] Bug#462475: Bug#462475: hal mounts usb disks as root instead as the gnome user

don Paolo Benvenuto donpaolo at gsi.it
Fri Jan 25 02:40:27 UTC 2008


El vie, 25-01-2008 a las 03:31 +0100, Michael Biebl escribió:
> Paolo Benvenuto wrote:
> > Package: hal
> > Version: 0.5.10-5
> > Severity: normal
> > 
> > I have an ide to usb external disk interface, the ME-720U2. It's a DIY kit for 3.5" devices,
> > an external enclosure. It connects to usb port, and the kernel recognizes it.
> > 
> > Hal does recognize it too: I can see that the disk mount applet shows me the partitions of the ide disk,
> > and within a few seconds all the partition are mounted, and are named usb0, usb1, etc.
> > 
> > However, when I try to copy some file to one of those partition, I'm told I haven't the wright permissions.
> > Actually I can see that those partitions are mounted as root:root, and the permissions are
> > rw-r--r--, so that I as a user cannot use them, although I use sudo or convert myself into the root user.
> > 
> > This is different from what happens with cd's, that are mounted as user:root.
> > 
> > Besides that, I as the gnome user cannot umount them from the disk mounter applet. When I try to umount them,
> > a window shows with the error:
> > "device to unmount is not in /media/.hal-mtab so it is not mounted by HAL", and that appears incorrect,
> > since hal mounted them (I suppose: they were mounted automatically).
> 
> If the device was not listed in /media/.hal-mtab, then indeed it was 
> *not* mounted by hal. Hal itself doesn't do any automounting. It's the 
> desktop environment (gnome-volume-manager, kde kded_mediamager etc.) 
> which does the mounting (through hal).
> Which environment are you using? The bug should be reassigned there.

I'm using gnome.

The strange thing is:
- in the initial automounting, the usb disk is mounted as root:root.
- if I umount it manually (with sudo) and I remount it from the disk
mounter applet, it is mounted user:user, and that's ok.

-- 
don Paolo Benvenuto

http://guaricano.diocesi.genova.it
è il diario che scrivo, principalmente io, ma anche altri:
puoi trovarvi la vita della missione, giorno per giorno

Contribuisci a wikipedia, l'enciclopedia della quale tu sei l'autore e
il revisore: http://it.wikipedia.org






More information about the Pkg-utopia-maintainers mailing list