[Bug 563805] Re: mount.cifs won't mount shares; set uid bit not set

Adrien Chauve petraike at gmail.com
Sat Apr 17 21:02:55 BST 2010


** Description changed:

  Binary package hint: samba
  
  In 9.10 this worked fine:
  
  dutchy at vampire:~$ mount.cifs //dragon/dutchy ~/dragon/
  Password:
  
  In 10.04, i get:
  
  dutchy at vampire:~$ mount.cifs //dragon/dutchy dragon/
- Password: 
+ Password:
  mount error(1): Operation not permitted
  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
  
  Setting the set uid bit fixed the problem:
- dutchy at vampire:~$ sudo chmod +s /sbin/umount.cifs
+ dutchy at vampire:~$ sudo chmod +s /sbin/mount.cifs
  
  I am quite sure I didn't change this, so somewhere in the upgrade
  process 9.10 -> 10.04 something went wrong.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: smbfs 2:3.4.7~dfsg-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
  Uname: Linux 2.6.32-19-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  CIFSMounts: Error: command ['mount', '|', 'grep', 'cifs'] failed with exit code 1: mount: only root can do that
  Date: Thu Apr 15 15:07:39 2010
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SambaClientRegression: Yes
  SourcePackage: samba

-- 
mount.cifs won't mount shares; set uid bit not set
https://bugs.launchpad.net/bugs/563805
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list