So, I set up sudoers and works great. But we have another problem thou.
I have put everything in the fstab. In Gnome if you go to Places you see
the mount point, but if you decide to go there it says Unable to mount
test2 (which is my mount point for the cifs). If I manually mount it,
obviously
Does this mean other mount.X utils will be similarly affected?
Does the fstab man page now need to be updated to say that the 'user'
flag does not apply to cifs and possibly others?
--
mount.cifs won't mount shares; set uid bit not set
https://bugs.launchpad.net/bugs/563805
You received this
setuid bit is set to /bin/mount and /sbin/mount.cifs:
sudo ls -la /bin/mount /sbin/mount.cifs
-rwsr-sr-x 1 root root 72188 2010-03-22 18:51 /bin/mount
-rwsr-sr-x 1 root root 30424 2010-04-09 17:29 /sbin/mount.cifs
but I got:
mount -t cifs //server/datenauf$ /mnt -o user,rw,user=bbr,dom=ivu-ag
I disagree with Dietmar's comment #5, which says that 9.10 didn't
have the setuid bit.
Here is my Ubuntu 9.10:
r...@cst6:~# ls -la /bin/mount /sbin/mount.cifs
-rwsr-xr-x 1 root root 78096 2009-10-22 21:28 /bin/mount
-rwsr-xr-x 1 root root 36296 2010-03-22 15:27 /sbin/mount.cifs
Here is my
Thierry, what about /bin/mount?
$ which mount | xargs ls -l
-rwsr-xr-x 1 root root 72188 2010-03-22 18:51 /bin/mount
it has the setuid bit set. Should mount and mount.cifs be treated
equally?
Previously, people could use mount without wondering if it was sudo
mount.cifs or just mount or
Setting the setuid bit on mount.cifs is discouraged upstream and opens
interesting security vulnerabilities:
smbfs (2:3.4.5~dfsg-2) unstable; urgency=low
* As of this version, the mount.cifs binary is no longer setuid.
Upstream has always been increasingly unsupportive of this
I think Dietmar's comment #5 is pretty interesting: the binaries in 9.10
did *NOT* have the suid-bit set, but it definitely worked for me back
then (and for others too, as they reported). So there must have been a
way to make this work. Have there been any of the mechanisms mentioned
by Wladimir
DebianSamba people say that's insecure to add setuid bit on these binaries,
and so this fix is discouraged.
Probably this could be resolved through some other security mechanism, like
PolicyKit or pmount ?
--
mount.cifs won't mount shares; set uid bit not set
For me on the Lenovo T410s with the desktop edition setuid fixed it.
However on the Asus EeePC 901 with the Netbook Edition is was not
necessary to set.
Just to mention.
--
mount.cifs won't mount shares; set uid bit not set
https://bugs.launchpad.net/bugs/563805
You received this bug
Same here, setuid fixed it, thx.
Since I still have Ubuntu 9.10 on another partition I looked up the
permissions and found out that mount.cifs und umount.cifs have no setuid
bit set there and they are working without it (on Ubuntu 9.10).
--
mount.cifs won't mount shares; set uid bit not set
Yeah got this issue too. Was mount.cifs suid in 9.10?
There's also a 'Mount FUSE filesystems' permission that can be set for
users through the GUI now. It made no difference though...
--
mount.cifs won't mount shares; set uid bit not set
https://bugs.launchpad.net/bugs/563805
You received this
the fix
sudo chmod +s `which mount.cifs`
sudo chmod +s `which umount.cifs`
--
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.
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?
--
mount.cifs won't mount shares; set uid bit not set
https://bugs.launchpad.net/bugs/563805
You received this
** Description changed:
Binary package hint: samba
In 9.10 this worked fine:
dut...@vampire:~$ mount.cifs //dragon/dutchy ~/dragon/
Password:
In 10.04, i get:
dut...@vampire:~$ mount.cifs //dragon/dutchy dragon/
- Password:
+ Password:
mount error(1): Operation not
** Attachment added: CifsVersion.txt
http://launchpadlibrarian.net/44263109/CifsVersion.txt
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/44263110/Dependencies.txt
** Attachment added: SambaInstalledVersions.txt
** Changed in: samba (Ubuntu)
Importance: Undecided = Medium
** Changed in: samba (Ubuntu)
Status: New = Triaged
--
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
16 matches
Mail list logo