[Pkg-samba-maint] Bug#833869: samba: Samba file permissions and "unix extensions = yes"

folkert folkert at nzhhobbyclub.nl
Tue Aug 9 16:46:48 UTC 2016

Package: samba
Version: 2:4.2.10+dfsg-0+deb8u3
Severity: important

Dear Maintainer,

I found out a user put a file on the server and another user from the same group 
not beeing able to edit it. Both users using a debian stable client.

When putting "unix extensions = no" in smb.conf this was solved. yes was default.
I would have expected the lines "create mask" and "force create mode" to rule
what is happening since copying a file from my desktop to the server creates a 
new file on that server. If "create mask" and "force create mode" don't rule the
world I would have expected a small explanation in the man-page of smb.conf

My personal problem seems solved by this setting but I hope this helps.

Regards, Folkert

-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.5.0-0.bpo.2-686 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser                              3.113+nmu3
ii  dpkg                                 1.17.27
ii  libbsd0                              0.7.0-2
ii  libc6                                2.19-18+deb8u4
ii  libhdb9-heimdal [heimdal-hdb-api-8]  1.6~rc2+dfsg-9
ii  libldb1                              2:1.1.20-0+deb8u1
ii  libpam-modules                       1.1.8-3.1+deb8u1+b1
ii  libpam-runtime                       1.1.8-3.1+deb8u1
ii  libpopt0                             1.16-10
ii  libpython2.7                         2.7.9-2
ii  libtalloc2                           2.1.2-0+deb8u1
ii  libtdb1                              1.3.6-0+deb8u1
ii  libtevent0                           0.9.25-0+deb8u1
ii  lsb-base                             4.1+Debian13+nmu1
ii  multiarch-support                    2.19-18+deb8u4
ii  procps                               2:3.3.9-9
ii  python                               2.7.9-1
ii  python-dnspython                     1.12.0-1
ii  python-ntdb                          1.0-5
ii  python-samba                         2:4.2.10+dfsg-0+deb8u3
pn  python2.7:any                        <none>
ii  samba-common                         2:4.2.10+dfsg-0+deb8u3
ii  samba-common-bin                     2:4.2.10+dfsg-0+deb8u3
ii  samba-dsdb-modules                   2:4.2.10+dfsg-0+deb8u3
ii  samba-libs                           2:4.2.10+dfsg-0+deb8u3
ii  tdb-tools                            1.3.6-0+deb8u1
ii  update-inetd                         4.43

Versions of packages samba recommends:
ii  attr               1:2.4.47-2
ii  logrotate          3.8.7-1+b1
ii  samba-vfs-modules  2:4.2.10+dfsg-0+deb8u3

Versions of packages samba suggests:
pn  bind9          <none>
pn  bind9utils     <none>
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.6.p5+dfsg-7+deb8u2
pn  smbldap-tools  <none>
pn  winbind        <none>

-- debconf information:
  samba/run_mode: daemons

More information about the Pkg-samba-maint mailing list