[Bug 1191543] New: autofs invoking mount.cifs ignores the user id
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Bug ID: 1191543 Summary: autofs invoking mount.cifs ignores the user id Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: manfred.h@gmx.net QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- I'm using autofs for years for mounting my NFS and my SMB/CIFS shares. For the CIFS shares I use the following entry in /etc/auto.master: /.smb /etc/auto.smb The credentials to be used live in /etc/creds/<hostname> and contains the required entries for all users configured in /etc/samba/smb.conf When I run the /etc/auto.smb script manually, I see the following: # /etc/auto.smb melmac -fstype=cifs,uid=$UID,gid=$GID,credentials=/etc/creds/melmac \ "/tmp" "://melmac/tmp" \ "/D" "://melmac/D" \ "/Bilder" "://melmac/Bilder" \ "/eBooks" "://melmac/eBooks" \ "/BDs" "://melmac/BDs" \ "/DVDs" "://melmac/DVDs" \ "/Multimedia" "://melmac/Multimedia" \ "/Backup" "://melmac/Backup" \ "/manfred" "://melmac/manfred" When I (user "manfred", uid=1000) change into the directory /.smb/melmac/D, mount shows the following line for the auto-mounted file system: //melmac/D on /.smb/melmac/D type cifs (rw,relatime,vers=3.1.1,cache=strict,username=manfred,domain=WORKGROUP,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.17.10,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1) Note the "uid=0" and "gid=0" here! When I do the same on Leap 15.3, this line is shown: //melmac/D on /.smb/melmac/D type cifs (rw,relatime,vers=3.1.1,cache=strict,username=manfred,domain=WORKGROUP,uid=1000,noforceuid,gid=100,noforcegid,addr=192.168.17.10,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1) Notice the small but important difference? On Leap "uid=1000" and "gid=100" are used to mount the fs, which enables me to actually write to that directory. On Tumbleweed, all I see is "permission denied" when trying to write to the file system! How can I re-enable the behaviour which existed for several years now? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Manfred Hollstein <manfred.h@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manfred.h@gmx.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 http://bugzilla.opensuse.org/show_bug.cgi?id=1191543#c1 --- Comment #1 from Manfred Hollstein <manfred.h@gmx.net> --- I just rebuilt the autofs package from Leap 15.3 for Tumbleweed: <https://build.opensuse.org/package/show/home:manfred-h/autofs> and downgraded the package on my Tumbleweed system. Now the auto-mounted directory has the same user and group as before: //melmac/D on /.smb/melmac/D type cifs (rw,relatime,vers=3.1.1,cache=strict,username=manfred,domain=WORKGROUP,uid=1000,noforceuid,gid=100,noforcegid,addr=192.168.17.10,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1) So this is rather a bug in autofs I'd say... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Manfred Hollstein <manfred.h@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Samba |Basesystem Assignee|samba-maintainers@SuSE.de |screening-team-bugs@suse.de QA Contact|samba-maintainers@SuSE.de |qa-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Manfred Hollstein <manfred.h@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |rgoldwyn@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Goldwyn Rodrigues <rgoldwyn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|rgoldwyn@suse.com |ddiss@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 http://bugzilla.opensuse.org/show_bug.cgi?id=1191543#c2 David Disseldorp <ddiss@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #2 from David Disseldorp <ddiss@suse.com> --- Thanks for the detailed regression report. I'm able to reproduce this and have a git bisect job running. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 http://bugzilla.opensuse.org/show_bug.cgi?id=1191543#c3 --- Comment #3 from Manfred Hollstein <manfred.h@gmx.net> --- May I ask what the status is? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Martin Wilck <martin.wilck@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.wilck@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 Goldwyn Rodrigues <rgoldwyn@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rgoldwyn@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1191543 http://bugzilla.opensuse.org/show_bug.cgi?id=1191543#c5 --- Comment #5 from Manfred Hollstein <manfred.h@gmx.net> --- May I ask for an update? This is getting annoying! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com