On Fri, 2002-05-10 at 05:37, Brad Felmey wrote:
> On Fri, 2002-05-10 at 08:39, Martha Jo McCarthy wrote:
> 
> > It will not let me change the permissions to writeable to everyone
> > when it is mounted.
> 
> No, you can't. You must do that at mount-time.
> 
> > Here are the two lines in my fstab:
> > 
> > //192.168.5.6/shared /mnt/serv/shared smbfs\
> > user,auto,rw,credentials=/home/techmjm/whatever 0 0
> > 
> > //192.168.5.6/techmjm /mnt/serv/techmjm smbfs\
> > user,auto,rw,credentials=/home/techmjm/whatever 0 0
> 
> In the options, add fmask=666,dmask=777, or whatever permissions you
> want the mount to have. fmask for files, dmask for directories.
> 
> //192.168.5.6/techmjm /mnt/serv/techmjm smbfs \
> user,auto,fmask=666,dmask=777 0 0
> 
> Or something similar.

On my LM 8.1 box "man fstab" points me to "man mount" for those options,
and there, around line 850, I find:

Mount options for ntfs
[snip]

       uid=value, gid=value and umask=value
              Set the file  permission  on  the  filesystem.   By
              default,  the files are owned by root and not read­
              able by somebody else.

That last sentence sounds relevant to this situation. I find no mention
of fmask or dmask.

Gary Dunn
Open Slate Project


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to