Mount smb Share with read/write permissions
Hi,
I am trying to mount a share from my Buffalo Network drive to Linux with Read/Write Access, I have installed smb and setup the mount point in fstab, but when any user apart from root tries to access it, they only have read access, after doing some searching on the Net, I found something about having to mount it with a GUID, but I am not sure how to do this, can someone please help. I am mounting it in fstab with the following syntax (I tried adding the rw parameter to the end, but obviously it has made no difference). Code:
//192.168.1.200/Data /media/Data smbfs username=myuser,password=mypwd,rw 0 0 Thanks, Gavin, |
Try using the uid and gid options. See man mount for details.
|
Thanks,
I looked at the man page, but still not clear on what I need to do, I tried adding uid=username,gid=group to the end of the option in fstab, but this has made no difference. |
Hi,
Found the solution all I needed to do was add the dmask=777, fmask=777 to the entries in fstab and I can write to the share with any user. Code:
//192.168.1.200/Data /media/Data smbfs username=myuser,password=mypwd,dmask=777,fmask=777 0 0 Thanks, Gavin, |
All times are GMT -5. The time now is 10:41 PM. |