How to mount a filesystem with ownership rights

Jim Bonnet jimbo
Mon May 17 11:41:36 PDT 2004


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?
> 

What is the owner/group of /home/cecilia/mp3? that needs to have some 
GID or UID that matches cecilia or chmod 777 the directory.. not the 
best plan i would say...

In fstab:
/dev/hdb1            /home/download       reiserfs   defaults      0 0

or something similar with _your_ information.. man fstab

then run the mount -a command and there you be.

--jim



More information about the Linux-users mailing list