]> git.hungrycats.org Git - linux/commit
[PATCH] smbfs does not honor uid, gid, file_mode and dir_mode supplied by user mount
authorHaroldo Gamal <haroldo.gamal@infolink.com.br>
Tue, 19 Oct 2004 01:15:14 +0000 (18:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:15:14 +0000 (18:15 -0700)
commit1ce7772b18bca39ab7d8190c5054c9e0b0d41ea4
tree1e27598198154a4d30f949480bd954175e7a47e4
parent56beecf61af5a16dd2b72c157ac326e659f65aa2
[PATCH] smbfs does not honor uid, gid, file_mode and dir_mode supplied by user mount

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".

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.

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.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/smbfs/inode.c
fs/smbfs/proc.c
fs/smbfs/proto.h
include/linux/smb_mount.h