Hi Chris,

The line should be:

<append key="volume.mount.valid_options" type="strlist">gid=</append>

Note the '=' after 'gid'. The '=' means that HAL accept any value for that key.

And the gconf mount options should include  'gid=1004'.

> On a related but different topic, how do I force hal to always mount the usb
> card as me (chris).  I am not the only user on the console, I have to play
> round robin and a game of chance for the card to be mounted under my uid.

The only solution for this is to specify the mount options (uid, gid,
etc.) in /etc/fstab. HAL will search for an entry that matches the
device that will be mounted, if none matches, it will mount the device
using the default values/options. The default is to mount the device
on behalf of the user that invoked the mount petition.

The problem is that the device block won't be always the same, it
could be /dev/sdc1, /dev/sdd1 and so on, but this can be easy
addressed with a udev rule, let me know if you need help with this.

BTW, what version of HAL are you using?


--
Rodolfo Martínez
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to