[Bug 476149] New: kernel CIFS shares (mount.cifs ) do not show the real permissions on the client
https://bugzilla.novell.com/show_bug.cgi?id=476149 Summary: kernel CIFS shares (mount.cifs ) do not show the real permissions on the client Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: danielstefanmader@web.de QAContact: samba-maintainers@SuSE.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 The Samba server here is SLES 10 SP2. Clients are mounting the needed CIFS shares as real kernel filesystems, either with a mount -t cifs [...] command or via pam_mount, which is essentially the same. On the clients, it is not possible to verify the owner of files and folders in the share, nor is it possible to check the permissions: This is an example of the permissions as they exist on filesystemlevel on the server: drwxrwx--- 2 mader optiker 6 2009-02-16 14:29 madertestdir -rw-rw---- 1 mader optiker 0 2009-02-16 14:29 madertestfile And this is what it looks like on the clients (openSUSE, Ubuntu, Mandriva): drwxrwxrwx 1 mader optiker 0 2009-02-16 14:29 madertestdir -rwxrwSrwx 1 mader optiker 0 2009-02-16 14:29 madertestfile Here, the owner is only correct because the FS is mounted via pam_mount. Using e.g. mount -t cifs //rioja/public /home/01_public -o credentials=/home/mader/.CIFScreds.rioja does not even show the proper owner but root.root instead. This seems a design problem with Samba, even with enabled LinuxExtensions (/proc/fs/cifs/LinuxExtensionsEnabled = 1) Any solution to this? Reproducible: Always Steps to Reproduce: see above -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=476149 User jengelh@medozas.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476149#c1 Jan Engelhardt <jengelh@medozas.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@medozas.de --- Comment #1 from Jan Engelhardt <jengelh@medozas.de> 2009-02-17 06:19:54 MST --- You need to enable CIFS unix extensions in smb.conf (if you have not done already) and on the client side (I think mount automatically figures this one out). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=476149 User jmcdonough@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=476149#c2 James McDonough <jmcdonough@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |danielstefanmader@web.de --- Comment #2 from James McDonough <jmcdonough@novell.com> 2009-02-17 07:29:17 MST --- Generally, this is on by default. So you should certainly double-check that it's not marked off. Also, I'll check when this got enabled in 3.0, but I believe it should be there. Please post both smb.confs as well as the level of samba on the server (there have been updates on SLES10 SP2). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=476149 User danielstefanmader@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476149#c3 Daniel Mader <danielstefanmader@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|danielstefanmader@web.de | --- Comment #3 from Daniel Mader <danielstefanmader@web.de> 2009-02-17 08:33:12 MST --- Thanks a lot, Jan, for pointing this out! I forgot we have once disabled Unix Extensions: [global] unix extensions = no This was necessary in order to activate our permission management: [share] create mask = 740 directory mask = 750 force create mode = 220 force directory mode = 770 Since we are about to switch to ACLs this is no longer necessary. Closing this bug as invalid! Thank you once again! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=476149 User danielstefanmader@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=476149#c4 Daniel Mader <danielstefanmader@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #4 from Daniel Mader <danielstefanmader@web.de> 2009-02-17 08:34:50 MST --- Resolved. Problem is due to faulty configuration. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com