Distribution: Fedora Core 2, Slackware 10 e debian Hardware Environment: Software Environment: Samba 3.0.5. Problem Description: If it is specified any of uid, gid, file_mode or dir_mode, the mounted directory presents the file attributes related to the remote filesystem. Steps to reproduce: mount a remote filesystem specifying a diferent uid number from remote and compare it. This bug is reported on samba bugzilla as 999.
Created attachment 3617 [details] proposed patch the smbfs files to honor the uid, gid, file_mode and dir_mode. Patching the files smbmnt.c and smbmount.c from samba 3.0.5, the uid, gid, dir_mode and file_mode from remote could be used if them are not specified on smbmount.
Created attachment 3618 [details] patch samba smbmnt.c to honor uid, gid, file_mode and dir_mode
Created attachment 3619 [details] patch samba smbmount.c to honor uid, gid, file_mode and dir_mode