[Samba] Re: smbfs: user cannot create file

Mike - EMAIL IGNORED m_d_berger_1900 at yahoo.com
Tue May 13 22:12:48 GMT 2003



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.



More information about the samba mailing list