[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] mount problems



On Thu, 2003-12-04 at 12:39, 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 I point konquerer at smb://server1/linux
> I can create files and directories from there
> If I point Konquerer at /home/cjohnson/server1/linux
> 
> I can't create folders or files
> 
> Does this make it any easier.
> 
> I'm only trying to mount the directory because I want to be able to save the
> .iso file I'm downloading to a server location not locally and mozilla won't
> let me choose an address with smb:// infront of it and konqurer says unable
> to write to file location!
> 
I guess when you mount this smbfs via mount command you are doing it as
root.
Therefore you'll need to give a full access right to this folder
(/home/cjohnson/server1/linux) to your user (cjohnson?).
Best bet in your situation will be 
chown -R cjohnson /home/cjohnson/server1
Other option  is to use root account to do writing - something I would
not suggest.
Hope this helps.
Cheers,
Denis.


___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.