Hi all Have Samba 2.2.2 server which has been running for several years. Have just re-installed Peanut linux on my laptop, now when I mount a share as root (only way to mount share ?) using ... mount -t smbfs -o username=andy,password=xyz //florence/data /data the ownership of the share changes to root. the share is owned by andy as is the mount point. How do I mount share & retain ownership by andy ?? Cheers andy -- Hakunamatata....... No problem !
Hi all Have Samba 2.2.2 server which has been running for several years. Have just re-installed Peanut linux on my laptop, now when I mount a share as root (only way to mount share ?) using ... mount -t smbfs -o username=andy,password=xyz //florence/data /data the ownership of the share changes to root. the share is owned by andy as is the mount point. How do I mount share & retain ownership by andy ?? Cheers andy Just got it sorted by using .... mount.smbfs //florence/data /data -o username=andy,password=xyz uid=andy gid=users andy -- Hakunamatata....... No problem !
Apparently Analagous Threads
- Mac OS and interpretation of @ in a username. Ex user@mds.xyz doesn't work on Mac OS but does on Win 10
- share mounted MANY times...
- Cannot chown file to active directory user/group on member server
- wbinfo -i -> failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
- using chown on server with Domain username