After running in to several walls and skimming countless threads on this problem I think I found a solution!
Running an up to date install of Hardy, with GNOME my USB drives would not mount properly. They would show up in places, work from the command line etc but the automount just wasn't going to work. So a little bit of sniffing and I tried to use the gnome-mount command and came up with this:
A bit of googling turned up this:Code:matt@Godzilla:~$ gnome-mount -vbd /dev/sdb1 gnome-mount 0.8 ** (gnome-mount:30183): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_4EF4_3A8A ** (gnome-mount:30183): DEBUG: read default option 'utf8' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30183): DEBUG: read default option 'umask=077' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30183): DEBUG: read default option 'exec' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30183): DEBUG: read default option 'flush' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30183): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_4EF4_3A8A with mount_point='KRASS', fstype='', num_options=4 ** (gnome-mount:30183): DEBUG: option='shortname=mixed' ** (gnome-mount:30183): DEBUG: option='uid=1000' ** (gnome-mount:30183): DEBUG: option='utf8' ** (gnome-mount:30183): DEBUG: option='umask=077' ** (gnome-mount:30183): DEBUG: option='exec' ** (gnome-mount:30183): DEBUG: option='flush' ** Message: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_4EF4_3A8A org.freedesktop.Hal.Device.PermissionDeniedByPolicy : org.freedesktop.hal.storage.mount-removable no <-- (action, result) ** (gnome-mount:30183): DEBUG: pk_action='org.freedesktop.hal.storage.mount-removable' pk_result='no' ** (gnome-mount:30183): DEBUG: gained privilege = 0 matt@Godzilla:~$
http://cblfs.cross-lfs.org/index.php/PolicyKit
At the bottom in the Configuration heading is a solution, just make the required changes to the PolicyKit file and restart hald:
And you should all up and running!Code:matt@Godzilla:/etc/PolicyKit$ sudo /etc/init.d/hal restart * Restarting Hardware abstraction layer hald [ OK ] matt@Godzilla:/etc/PolicyKit$ gnome-mount -vbd /dev/sdb1 gnome-mount 0.8 ** (gnome-mount:30260): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_4EF4_3A8A ** (gnome-mount:30260): DEBUG: read default option 'utf8' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30260): DEBUG: read default option 'umask=077' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30260): DEBUG: read default option 'exec' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30260): DEBUG: read default option 'flush' from gconf strlist key /system/storage/default_options/vfat/mount_options ** (gnome-mount:30260): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_4EF4_3A8A with mount_point='KRASS', fstype='', num_options=4 ** (gnome-mount:30183): DEBUG: option='shortname=mixed' ** (gnome-mount:30183): DEBUG: option='uid=1000' ** (gnome-mount:30260): DEBUG: option='utf8' ** (gnome-mount:30260): DEBUG: option='umask=077' ** (gnome-mount:30260): DEBUG: option='exec' ** (gnome-mount:30260): DEBUG: option='flush' Mounted /dev/sdb1 at "/media/KRASS" matt@Godzilla:/etc/PolicyKit$
Hope this helps someone.



Adv Reply



Bookmarks