Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

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
Comment by Massimiliano Torromeo (mtorromeo) - Monday, 07 February 2011, 15:09 GMT
+1

Creating a package for cifs-utils was easy: http://aur.pastebin.com/sWYQiJgu
But it obviously has file conflicts with smbclient.
Comment by Paride Legovini (torn) - Monday, 07 February 2011, 16:23 GMT
Hi Massimiliano,

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.
Comment by Paride Legovini (torn) - Thursday, 24 February 2011, 13:15 GMT
Is there any news about this issue?
Comment by Chris Shake (cshake) - Thursday, 17 March 2011, 00:56 GMT
This is an important update, the newer mount.cifs and umount.cifs fix the bug that doesn't allow mounting network cifs shares as user when the 'users' option is set in fstab, the current binaries require any mounts to be done with sudo.

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.

Loading...