mount permission

Rashkae ubuntu at tigershaunt.com
Tue Aug 28 16:40:22 UTC 2007


Luca Ferrari wrote:
> HI all,
> in my /etc/fstab I've got the following:
> 
> //prod/coge     /mnt/prod        smb   users,guest,auto,umask=000      0 0
> 
> the problem is that after a computer boot I'm unable to write, as normal user, 
> on the /mnt/prod directory, while if I umount and remount it (as a normal 
> user) I can do that. What am I missing to allow each normal user to access 
> the share in write mode?
> 
> Thanks,
> Luca
> 

uid=username is probably what you're missing to make it work just the 
same as when you re-mount it.  (where usersname is your username)

To give all normal users write access:
gid=users,fmask=0660,dmask=0770

And you should really consider changing from smb to cifs




More information about the ubuntu-users mailing list