[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Drives can't be mounted as a normal user



Hello Bibek ju,

Bibek Paudel wrote:
> Hi all,
> I use Debian Lenny (GNOME) on my i386 machine.
> While logging in as root, the other disk partitions are shown in the
> desktop as well as "Places" menu. They can then be browsed without
> problem.
> However, when I login as a normal user, they aren't listed. And when I
> try to mount them from Nautilaus window, an error-window pops up,
> "Cannot mount volume: You are not privileged to mount this volume."
> Mounting from the terminal using "mount" (as root) command works
> without a hitch.
> 
> The user is a member of the group "plugdev." From gconf,
> /->desktop->volume-manager->automount_deives is checked. I just
> installed pmount to see if it helps, but it didn't. Surprisingly, the
> policykit in debian looks so bare and feature-deprived: (screenshot:
> http://twitpic.com/2rr3w ) I couldn't adjust any settings from there.
> 
> I know how to use and edit the /etc/fstab file to mount the drives
> after each boot. However, that's not what I'm looking at. I'm looking
> to be able to use my other partitions just like a root user (maybe
> after being asked for authorization).
> 
> Any help will be highly appreciated.

Try this:

/usr/bin/gnome-mount --block --verbose
--hal-udi=/org/freedesktop/Hal/devices/[some_value]

[some_value] is a HAL UDI given to you by:
/usr/bin/gnome-mount -v --display-settings --device=/dev/sda

HTH

-- 
	Cheers,
	Ishwor Gurung


Reply to: