How do I mount a samba share and have it use the same permissions as the original mount point?
Posted on 2008-10-15
I set up file share between my wife's vista box and my ubuntu box. The only way I could get it to work was to use the mount command and mount her share on my machine, using a blank mount point. I set up the mount point as rwxrwxrwx
The only way I can get the mount command to work is as root. It mounts correctly but the permission are drwxr-xr-x. That means I can only write to that directory as root. Bumer.
I tried "sudo mount -t smbfs -o username=ken -o mode=777 //172.16.1.34/KenShared /home/ken/vista", but it keeps mounting it as 755 (rwxr-xr-x).
Is there anyway to tell samba to mount it using the original mount point permissions or force it to mount as 777?
Thanks for your help