Hi. Trying to mount a Win2k drive as read/write, but when it gets mounted I can't actually write to the drive. Command I'm using is: su -c "mount -t smbfs //nbgwu5/upload /home/darose/mnt/nbgwu5 -o rw,username=crosen,password=*****,workgroup=demo" Result of the mount is: //nbgwu5/upload on /home/darose/mnt/nbgwu5 type smbfs (0) I can read from the drive, but not write to it. I've checked the permissions on the Win2K box on that shared dir and it's set to Everyone/Full Control. I've also verified that the mount directory (/home/darose/mnt/nbgwu5) is writeable by me. But I still can't write to the directory: cp ~/work/gateway.sh ~/mnt/nbgwu5/ cp: cannot create regular file `/home/darose/mnt/nbgwu5/gateway.sh': Permission denied Anyone have any clue how I can fix this? Please feel free to RTFM me if necessary, but I've read through the Samba HOWTO and googled around a great deal and am still stumped. TIA! DR
Try this. smbmount "\\\\nbgwu5\\upload" '/home/darose/mnt/nbgwu5' -o rw,username=crosen,password=*****,workgroup=demo" --- David Rosenstrauch <david.rosenstrauch@aleri.com> skrev: > Hi. Trying to mount a Win2k drive as read/write,> but when it gets mounted I > can't actually write to the drive. > > Command I'm using is: > > su -c "mount -t smbfs //nbgwu5/upload > /home/darose/mnt/nbgwu5 -o > rw,username=crosen,password=*****,workgroup=demo" > > Result of the mount is: > //nbgwu5/upload on /home/darose/mnt/nbgwu5 type > smbfs (0) > > I can read from the drive, but not write to it. > I've checked the permissions > on the Win2K box on that shared dir and it's set to > Everyone/Full Control. > > I've also verified that the mount directory > (/home/darose/mnt/nbgwu5) is > writeable by me. > > But I still can't write to the directory: > > cp ~/work/gateway.sh ~/mnt/nbgwu5/ > cp: cannot create regular file > `/home/darose/mnt/nbgwu5/gateway.sh': > Permission denied > > > Anyone have any clue how I can fix this? Please > feel free to RTFM me if > necessary, but I've read through the Samba HOWTO and > googled around a great > deal and am still stumped. > > > TIA! > > DR > > -- > To unsubscribe from this list go to the following > URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba______________________________________________________ Se den nye Yahoo! Mail p? http://no.yahoo.com/ Nytt design, enklere ? bruke, alltid tilgang til Adressebok, Kalender og Notisbok
Try this: smbmount //nbgwu5/upload /home/darose/mnt/nbgwu5 -o rw,username=crosen,password=*****,workgroup=demo,uid=your_unix_username,gidyour_unix_group -----Original Message----- From: David Rosenstrauch [mailto:david.rosenstrauch@aleri.com] Sent: Thursday, October 03, 2002 1:41 PM To: samba@lists.samba.org Subject: Re: [Samba] Can't mount dir as read/write On Thursday 03 October 2002 02:14 pm, linux power wrote:> Try this. > smbmount "\\\\nbgwu5\\upload" > '/home/darose/mnt/nbgwu5' > -o > rw,username=crosen,password=*****,workgroup=demo"Hmmmm. Didn't make a difference. I did learn something new about the situation though: I'm able to read and write from the SMB mounted directory as root, but not as any other user. Obviously I'd like to be able to access this as a regular user, so I don't have to go root every time I want to write a file to the share dir. Any other suggestions? Thanks, DR -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba