How to mount a filesystem with ownership rights

Ken Moffat kmoffat
Mon May 17 11:41:36 PDT 2004


On Sunday 15 December 2002 03:50 am, Collins wrote:
> I've created a separate partition for my daughter's mp3 collection,
> and this is mounted via fstab to /home/cecilia/mp3.
>
> The only problem is, she can't created new directories.  Each time I
> have to su, mkdir, and chown.
>
> How can I automated the mount and get the correct permissions?

Can you add "user" to your fstab mount line?

/dev/hda10 /mnt/hda10       ext2     defaults,user         0      0

This will allow any user to mount a directory. (But it's not auto, she would 
have to mount it. gkrellm works well, or if you are using a wm with desktop 
icons it's easy to right click/mount.) 
-- 
Ken Moffat
kmoffat at drizzle.com





More information about the Linux-users mailing list