mount. root rw:ok. user rw problems
So I mounted a directory over the network. This is my fstab entry:
As user I can nano a file and save. (Hurray for console).
If I try and modify one of the existing files in the mount it gives me a "Error writing /mnt/files/file.txt No such file or directory".
My local user id is the same user id of the files on the remote machine. eg 1100 here, 1100 there. group id is the same on both machines.
Hope anyone can help.
if your uid is 1100, if you look at your post you have it as 1000. Not sure if that was a copy paste, or if the 1100 was a typo on your part, but the second syntax looks correct if your uid is 1000. If you manually mount it with a
mount -v //192.168.100.100/files /mnt/files cifs \ rw,username=uname,password=passw,_netdev,uid=1000,gid=100 0 0
what the output would be.
1100 was just an example. no mistake there.
verbose prints this:
"mount.cifs kernel mount options unc=//192.168.100.100\files,ver=1,rw,username=uname,password=passw,uid=1000,gid=100"
what it gives me on nano an existing file is the "no such file or directory".
I got another machine which mounts from same place, just different dir according to user and it works.
|All times are GMT -5. The time now is 04:48 AM.|