[Pkg-samba-maint] Bug#907812: /sbin/mount.cifs: POSIX ACLs only work with vers=1.0 or noperm
Christian Pernegger
pernegger at gmail.com
Sun Sep 2 14:52:29 BST 2018
Package: cifs-utils
Version: 2:6.8-2
Severity: normal
File: /sbin/mount.cifs
Hello,
a while back there was a change in the default protocol version for cifs
mounts. That broke one use case of mine, where I mount a share [on Samba
from Debian stable] for a specific user, whose permissions server-side
come from POSIX ACLs set there.
Before the change / with vers=1.0 set, this would just work, with the
correct owners, permissions etc. also shown client-side.
As soon as I mount with higher vers (incl. default), nounix
automatically gets set on the mount, and everything shows as owned by
root on the client, no permissions and an effectively ro share. The
only way I can get higher protocol versions to work is to set noperm on
the mount. That doesn't let me see ownership or permnissions on the
client, but at least writing works.
Surely there must be a better way?
Cheers,
C.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cifs-utils depends on:
ii libc6 2.27-5
ii libcap-ng0 0.7.9-1
ii libkeyutils1 1.5.9-9.3
ii libkrb5-3 1.16-2
ii libpam0g 1.1.8-3.8
ii libtalloc2 2.1.14-1
ii libwbclient0 2:4.8.5+dfsg-1
cifs-utils recommends no packages.
Versions of packages cifs-utils suggests:
pn keyutils <none>
ii smbclient 2:4.8.5+dfsg-1
pn winbind <none>
-- no debconf information
More information about the Pkg-samba-maint
mailing list