[Pkg-samba-maint] Bug#439435: Bug#439435: /usr/share/man/man8/mount.cifs.8.gz: include in man mount.cifs: "echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled" to enable uid to work

Steve Langasek vorlon at debian.org
Sat Aug 25 05:21:38 UTC 2007

reasign 439435 linux-2.6
tags 439435 upstream

On Fri, Aug 24, 2007 at 11:03:26PM -0400, Greg Reagle wrote:
> mount.cifs ignores the uid and gid options "when the target server
> supports the CIFS Unix extensions".  This causes a serious problem when
> the target server doesn't do the uid and gid properly.  I know because I
> just experienced this problem tonight.  See
> http://lwn.net/Articles/232430/ as a reference.

No, the problem is that the kernel ignores the uid and gid that mount.cifs
passes it when using CIFS Unix extensions.  Reassigning to the kernel, this
can't be fixed in the userspace tools.

> Another good thing to do would be to put the workaround solution in the
> man page.  I know it works because I tried it tonight.  The workaround
> is "echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled" before mounting.

I'm much more interested in having the issue in the kernel addressed so that
this isn't necessary. :)

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

More information about the Pkg-samba-maint mailing list