Haroldo Gamal
2004-Oct-14 16:10 UTC
[Samba] [PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount
Hi, This patch fixes "Samba Bugzilla Bug 999". The last version (2.6.8.1) of smbfs kernel module do not honor uid, gid, file_mode and dir_mode supplied by user during mount. This bug is also logged as "Kernel Bug Tracker Bug 3330". I think this stuff is related to the "unix extensions". This patch offers to the client side the opportunity to decide to use or not those extensions. To fully work, some modifications are needed to samba smbmount.c and smbmnt.c files. Those patches are available at Samba and Kernel Bug Tracker pages (Bug 999). After those patches, if the user do not supply any of the parameters above, the uid, gid, file_mode and dir_mode on the server will be used by the client. I have submitted this before, but I've got no answer. This is the last time. If it have no value, please send me a note. Thank you in advance, Haroldo Gamal PS: Thank you Randy.
Andrew Morton
2004-Oct-14 21:37 UTC
[Samba] Re: [PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount
Haroldo Gamal <haroldo.gamal@silexonline.org> wrote:> > This patch fixes "Samba Bugzilla Bug 999". The last version (2.6.8.1) of > smbfs kernel module do not honor uid, gid, file_mode and dir_mode > supplied by user during mount.I merged this into -mm when you first sent it. See ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/broken-out/smbfs-do-not-honor-uid-gid-file_mode-and-dir_mode-supplied.patch. This latest patch seems to be significantly different from the earlier one. What's up?
Maybe Matching Threads
- file_mode and dir_mode options ignored
- RE: [S] Dynamic Memory Allocation in R
- kenrel 2.6.4 patch for fixing warning of smbfs on high gid/uid
- incomplete smbmount smbfs Win98SE iso8859-1 translation in kernel 2.4.18
- No announcement for kernel 3.10.0-1062.12.1.el7