Package: cifs-utils Version: 2:7.4-1 Severity: normal X-Debbugs-Cc: [email protected]
Dear Maintainer, -- System Information: Debian Release: 13.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.11.10-amd64 (SMP w/24 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE=en.UTF-8 Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cifs-utils depends on: ii libc6 2.41-9 ii libcap-ng0 0.8.5-4+b1 ii libgssapi-krb5-2 1.21.3-5 ii libkeyutils1 1.6.3-6 ii libkrb5-3 1.21.3-5 ii libpam0g 1.7.0-5 ii libtalloc2 2:2.4.3+samba4.22.2+dfsg-1 ii libwbclient0 2:4.22.2+dfsg-1 ii python3 3.13.5-1 Versions of packages cifs-utils recommends ii keyutils 1.6.3-6 Versions of packages cifs-utils suggests: ii bash-completion 1:2.16.0-7 ii smbclient 2:4.22.2+dfsg-1 pn winbind <none> -- no debconf information When attempting to setup a systemd user service to automount a CIFS share, the mount fails with the error "%s: permission denied: no match for %s found in %s\n" The code is checking for an entry in /etc/fstab if the real-UID is > 0. However, systemd automount should not need an entry in /etc/fstab. Having the setuid bit set does not help as it calls 'getuid()' and not 'geteuid()'.

