[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] mount problems
On Thu, Dec 04, 2003 at 12:39:14PM -0000, Chris Johnson wrote:
> > >
> > > I can't create any files on the mounted share from the
> > linux box. Any
> > > ideas?
> > I would suggest to check this myusername/mypassword on NT side first.
> > Can this user create files in the specified directory
> > (linux/home/cjohnson/server1/linux)?
> > Also I would mount with rw option if you'll need to create
> > files on smb
> > filesystem:
> > mount -t smbfs -o
> > username=myusername,password=mypassword,rw,ip=your_smb_server_ip
> > //server1/linux /home/cjohnson/server1/linux
>
>
> I actually stretched the truth in my first post. When I said I couldn't
> create files I only tested creating a folder.
If you go to a command line, and do ls -la /home/cjohnson/server1/linux
What does that show you about the owner and permissions of the
directory?
smbmount can take a permission, uid & gid in arguments (mount uses
smbmount to mount the share). Check what you're passing there. If you
aren't the owner of the directory once it's mounted, then you won't be
able to create stuff in it without the right permissions.
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.