Kernel Bug Tracker – Bug 3330
smbfs do not honor uid, gid, file_mode and dir_mode specified by smbmount
Last modified: 2004-09-13 11:31:24 UTC
Fedora Core 2, Slackware 10 e debian
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
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
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