Re: Automounting internal devices in Gnome

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



Sure =)

$ id

uid=1000(flavio) gid=100(users)
> groups=100(users),10(wheel),81(dbus),82(hal),90(network),91(video),92(audio),93(optical),95(storage),97(camera),98(power)


On Fri, Mar 5, 2010 at 2:37 AM, Nilesh Govindarajan <lists@xxxxxxxxxx>wrote:

> On Thu, Mar 4, 2010 at 9:59 PM, Flavio Costa <flavio.cdc@xxxxxxxxx> wrote:
>
> > Hi,
> >
> > Before Gnome 2.28 (I've been using Arch since 2.22, I guess), Gnome used
> to
> > be able to mount my internal devices (in this case some NTFS partitions I
> > have, and yes use Windows sometimes...) automatically (I just had to
> grant
> > a
> > permission on a neat GTK interface).
> > I guess that magic used to happen due to a set of softwares working
> > together, those being HAL, DBus, PolicyKit and Gnome.
> >
> > When Gnome 2.28 came out (and also devicekit-*, the replacement of
> > policykit
> > with polkit and the deprecation of HAL) this neat magic dissapeared and
> > I've
> > looked for many solutions in the forums or in others places but I
> couldn't
> > found one.
> >
> > Everytime I want to use those extra NTFS partitions, I have to manually
> > click one the "Places" menu and select the device, after clicking I'm
> > prompted for my root password. I type it and the disk is mounted.
> > But that's boring (all my musics are stored on the NTFS partition, so
> > everytime I want to listen to them I have to do this).
> >
> > I even managed to supress the prompting for the password but I believe
> that
> > due to some update that stopped working.
> >
> > $ cat /etc/polkit-1/localauthority.conf.d/61-custom.conf
> >
> > [Automount Devices]
> >
> > Identities=unix-group:storage
> >
> > Action=org.freedesktop.devicekit.disks.*
> >
> > ResultActive=yes
> >
> > ResultAny=no
> >
> > ResultInactive=no
> >
> >
> > The above doesn't work anymore (I have to enter the password everytime).
> >
> > So despite of fstab, does anyone knows the solution or a workaround for
> > this
> > problem?
> >
> > --
> > Flávio Coutinho da Costa
> >
>
> According to the above config, do you belong to the group storage ?
>
> --
> Nilesh Govindarajan
> Site & Server Administrator
> www.itech7.com
>



-- 
Flávio Coutinho da Costa


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux