Cannot mount cifs shares as normal user on directories not owned by the user
Bug #106146 reported by
striscio
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba |
Fix Released
|
Medium
|
|||
samba (Debian) |
Fix Released
|
Unknown
|
|||
samba (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I can't set a cifs share user mountable. I read on man (8) mount.cifs that I have to set mount.cifs setuid root.
I set it with a
chmod +s /sbin/mount.cifs
but I cant get the share mounted as normal user nor invoking mount.cifs nor via fstab entry.
This is very annoying. Anyone else is experiencing this?
Changed in samba: | |
status: | Unknown → Fix Released |
Changed in samba: | |
status: | Unknown → Confirmed |
Changed in samba: | |
status: | Fix Released → Unknown |
Changed in samba: | |
status: | Unknown → Confirmed |
Changed in samba: | |
status: | Confirmed → Fix Released |
Changed in samba (Debian): | |
status: | Confirmed → Fix Released |
Changed in samba: | |
importance: | Unknown → Medium |
To post a comment you must log in.
I forgot to report the erro message I get:
mount error: permission denied or not superuser and mount.cifs not installed SUID
but:
gianpaolo@pequod:~$ ls -l `which mount.cifs`
-rwsr-sr-x 1 root root 19832 2007-02-06 02:36 /sbin/mount.cifs
which seems to setuid