[Samba] Re: smbfs: user cannot create file

Mike - EMAIL IGNORED m_d_berger_1900 at yahoo.com
Wed May 14 22:57:34 GMT 2003


Problem solved:  smbmount options: dmask=777,fmask=777

Mike.

Mike - EMAIL IGNORED wrote:
> 
> Mike - EMAIL IGNORED wrote:
> >
> > David Morel wrote:
> > >
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Le Samedi 10 Mai 2003 00:53, Mike - EMAIL IGNORED a écrit :
> > > > Using VMware - Host: WinXP; Guest: Linux 8.0:
> > > >
> > > > Following advice I received elsewhere yesterday,
> > > > I modified Linux start up files (level 3) with
> > > > mount -t smbfs to connect to a shared directory in
> > > > WinXP.  On WinXP, both the directory and the share
> > > > permissions give full control to Everyone.  On
> > > > Linux, the both /mnt and /mnt/linuxShare have
> > > > drwxrwxrwx.
> > > >
> > > > As root, on the Linux side I have full control in the
> > > > shared out directory.
> > > >
> > > > As another user in Linux, I cannot create a new file in
> > > > the shared out directory.  This fails with cp, vi, and
> > > > touch.  Oddly, I can use vi to modify a preexisting file.
> > > >
> > > > Advice would be much appreciated.
> > > >
> > > > Thanks,
> > > > Mike.
> > > > --
> > > > Michael D. Berger
> > >
> > > add 'user,noauto' to your mount options in fstab and mount the share once
> > > you're logged in. This is one way, there are others. Regarding file
> > > permissions, you have to read just a little more documentation on unix
> > > rights. Did you google a bit about it ?
> > >
> > > David
> > [...]
> >
> > Yes, I did google a bit, but did not find the answer.  Can
> > you suggest a URL for appropriate documentation?  Also,
> > is there a way that I can do it in the startup files
> > before logging in?
> >
> > Thanks,
> > Mike.
> [...]
> 
> I tried the suggested fix, and it did not change things.  A non-root
> Linux user still cannot create files.  Other suggestions would be much appreciated.
> 
> Mike.
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list