mount.cifs won't mount shares; set uid bit not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: samba
In 9.10 this worked fine:
dutchy@vampire:~$ mount.cifs //dragon/dutchy ~/dragon/
Password:
In 10.04, i get:
dutchy@vampire:~$ mount.cifs //dragon/dutchy dragon/
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@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~
ProcVersionSign
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelMo
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
SambaClientRegr
SourcePackage: samba
Changed in samba (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
I too have run into this issue. 9.10 this was fine, 10.04 mount.cifs requires the setuid bit before allowing users to do this w/o sudo privileges. This may be a packaging regression?