2004-10-14 16:13:39

by Haroldo Gamal

[permalink] [raw]
Subject: [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.


Attachments:
smbfs.patch (6.79 kB)

2004-10-14 21:41:36

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount

Haroldo Gamal <[email protected]> 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?

2004-10-14 22:14:46

by Haroldo Gamal

[permalink] [raw]
Subject: Re: [PATCH] smbfs: smbfs do not honor uid, gid, file_mode and dir_mode supplied by user mount

This is the same patch. As I do not receive any ack I sent it again...

On Thu, 2004-10-14 at 18:41, Andrew Morton wrote:
> Haroldo Gamal <[email protected]> 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?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/