Re: How to automount as a specific user
Kent West <westk@acu.edu> writes:
> I'm trying to convert my Mom to using Debian over Win95, but until I can
> get her a non-Win-printer, she'll probably bounce back and forth between
> the two.
>
> Accordingly, I've set her up to use Mozilla/Mozilla Mail in both
> environments. I've set up the Linux side to point to the Mozilla data
> directory on the Windows partition so that the mailboxes, etc will be
> the same in both environments. However, in order to make this work, the
> Windows partition needs to be mounted. I can automatically mount it
> during bootup by putting an entry in the fstab
>
> /dev/hda1 /home/novie/Win95 vfat defaults,rw,user,auto 0 0
>
> but that causes the resulting mount point to be owned by root.root, and
> then her Mozilla can't have write access to the partition.
/dev/hda1 /home/novie/Win95 vfat defaults,user,uid=1000,gid=1000 0 0
should do what you want; just make sure you set those id's to the
correct number.
man mount, and see the "mount options for fat" section for more details.
--
Brian Nelson <nelson@bignachos.com>
BigNachos@jabber.org
http://bignachos.com
Reply to: