Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194799

Summary: mount.cifs from net-fs/mount-cifs-3.0.25c doesn't allow non root user mounts
Product: Gentoo Linux Reporter: Thomas Scheiblauer <tom>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Thomas Scheiblauer 2007-10-05 13:14:59 UTC
Since the mount.cifs split from the Samba package it doesn't allow mounts from non root users anymore (with 'user' option set in fstab).


Reproducible: Always

Steps to Reproduce:
1.put something like this into fstab: //sambaserver/share     /home/foo/share cifs    user,noauto,workgroup=bar,username=foo,password=foobar  0 0
2. $ mount /home/foo/share


Actual Results:  
mount error 1 = Operation not permitted
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Expected Results:  
mounted the share

chmod +s /usr/bin/mount.cifs
and
chmod +s /usr/bin/umount.cifs
helps.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-05 14:23:07 UTC

*** This bug has been marked as a duplicate of bug 186383 ***