FS#22711 - [smbclient] mount.cifs should come from the newer cifs-utils project
Attached to Project:
Arch Linux
Opened by Paride Legovini (torn) - Tuesday, 01 February 2011, 23:07 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 26 March 2011, 15:11 GMT
Opened by Paride Legovini (torn) - Tuesday, 01 February 2011, 23:07 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 26 March 2011, 15:11 GMT
|
Details
At the moment the package smbclient provides mount.cifs, the
program to mount cifs shares. This program is outdated and
should actually come from the "new" cifs-utils project (it's
not really new, it's has been split from samba almost one
year ago):
http://wiki.samba.org/index.php/LinuxCIFS_utils Among the other things, the new version of mount.cifs has been security audited and can now be installed with setuid root, as it's done for example in Debian, so enabling again unprivileged users to mount cifs shares (when specified in the fstab, of course, exactly as with other filesystems). To make a comparison, in Debian there's the package 'smbclient' that provides some utilities, and a different package called cifs-utils, that provides mount.cifs. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Saturday, 26 March 2011, 15:11 GMT
Reason for closing: Implemented
Saturday, 26 March 2011, 15:11 GMT
Reason for closing: Implemented
Creating a package for cifs-utils was easy: http://aur.pastebin.com/sWYQiJgu
But it obviously has file conflicts with smbclient.
I hope it's possible for Tobias to remove the conflicting files from the smbclient package and provide the cifs-utils package with the new binaries.
Any current attempts fail with '/sbin/mount.cifs: not installed setuid - "user" CIFS mounts not supported.' and the binary is also coded to disable setting the setuid flag, so there aren't workaround (except mounting with sudo)
Of course this is also stated in the bug description above, but it is irritating to run into this personally.