Fix for Samba server masking world writeable perm off

Steve French smfrench at
Tue Feb 26 13:33:33 UTC 2019

The "for-next" branch of
is usually reasonably current (since it is pulled by the build-bot)
although it changes fairly often depending on what we are testing in
the buildbot.  Technically the one that linux-next pulls from,;a=shortlog;h=refs/heads/for-next
is probably a bit better

I typically don't rebuild the whole kernel every time, but rather will
download the Ubuntu or Fedora weekly kernel build at least once a
month, and then cd into the Linux kernel client's git tree then

"cd fs/cifs"
"make C=1 -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
"rmmod cifs; insmod ./cifs.ko"

In terms of testing, a lot of our focus has been on xfstest (and there
is some info on setting this up, although the test results need
updating, at

On Tue, Feb 26, 2019 at 1:19 AM Volker Lendecke
<Volker.Lendecke at> wrote:
> On Tue, Feb 26, 2019 at 12:20:20AM -0600, Steve French via samba-technical wrote:
> > Very strange - I noticed that using jra's experimental POSIX code, the
> > Samba server would always mask off the world writeable flag ie 0777
> > would become 0775 permissions.   No matter what the masks were in
> > smb.conf.
> >
> > Turned out to be simple but strange:
> Question -- how do I test your code? Just compile the latest kernel
> from
> Volker
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: 0551-370000-0, mailto:kontakt at
> Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
> AG Göttingen: HR-B 2816 -



More information about the samba-technical mailing list