Hi Chris,

The "Changing default mount options" section at
http://www.linuxfromscratch.org/blfs/view/cvs/general/hal.html may
help.


--
Rodolfo Martínez



On Mon, Apr 12, 2010 at 6:39 AM, Chris Perry <[email protected]> wrote:
> Hello,
> I have used Debian for over a decade and can work most things out.  But I
> have a problem.
> I use a usb memory card to take a rsync backup of my most important files
> every day.  This used to work perfectly.
>
> I recently upgraded from etch to lenny.  After ironing out some wrinkles I
> am left with one insoluble problem:
>
> The usb memory card is always auto mounted with group ownership of root at
> the mount point.  This stops me from refreshing the cards contents.
>
> In etch ownership after auomount would be chris:perry  This is as expected
> and worked fine.
> In lenny ownership after automount is chris:root  This is the problem.
>
> My primary group is still perry, btw.
>
> I have googled and searched far and wide, I cannot find posts that describe
> adequately how hal and then udev get themselves sorted and apply some action
> to perform the mount.  I cannot work out where the action is defined in the
> system config.  I cannot work anything out, I've not been so stumped in a
> long time.
>
> I have determined the following work-around to use after automount has
> completed:
> umount /media/TOSHIBA
> mkdir /media/TOSHIBA
> mount -t vfat -o
> rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=1000,gid=1004 /dev/sdc1
> /media/TOSHIBA
>
> I am not able to determine the output of mount for the same device in etch.
>  My backup etch partition has passed on.
>
> If someone can point me at the right doco, or desribe how this works, I
> would appreciate it.
> Thanks and regards,
> Chris.
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
--
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