Frédéric RAVETIER
2004-Oct-21 10:46 UTC
[Samba] uid and gid problems with linux as client and server
Hello, I mounted a samba directory on my client with something like : mount -t smbfs -o auto,rw,users,username=<name>,password=<pwd>,uid=fred,gid=fred //<servername>/data /mnt/server Then mnt/server is own by fred:fred but the uid and gid are not recursive. So I can not acces to some directory in mnt/server. Note that the uid and gid of the server are not the same as the one on my client. Thanks, Fred.
Igor Belyi
2004-Oct-21 23:41 UTC
[Samba] Re: uid and gid problems with linux as client and server
As far as I know smbfs uses uid and gid only for those shares which do not have their own access attributes. If server exports access attributes smbfs obeys them. You can play with 'force user' and 'force group' attribute for this share to force access to be by uid and gid known on server. Igor Fr?d?ric RAVETIER wrote:> I mounted a samba directory on my client with something like : > mount -t smbfs -o > auto,rw,users,username=<name>,password=<pwd>,uid=fred,gid=fred > //<servername>/data /mnt/server > > Then mnt/server is own by fred:fred but the uid and gid are not > recursive. So I can not acces to some directory in mnt/server. > Note that the uid and gid of the server are not the same as the one on > my client.
Possibly Parallel Threads
- Can really anyone help ?
- kenrel 2.6.4 patch for fixing warning of smbfs on high gid/uid
- [PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount
- can samba keep uid/gid/permission on a per-file-base?
- Rcmd.exe in R 1.6.1 for windows?