Debian Bug report logs - #576713
cifs-utils: mount.cifs does not respect "user" flag

version graph

Package: cifs-utils; Maintainer for cifs-utils is Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>; Source for cifs-utils is src:cifs-utils (PTS, buildd, popcon).

Reported by: James Zuelow <james_zuelow@ci.juneau.ak.us>

Date: Tue, 6 Apr 2010 17:51:14 UTC

Severity: normal

Tags: squeeze

Merged with 576868

Found in version cifs-utils/2:4.1-1

Fixed in version cifs-utils/2:4.5-1

Done: Steve Langasek <vorlon@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#576713; Package cifs-utils. (Tue, 06 Apr 2010 17:51:16 GMT) (full text, mbox, link).


Acknowledgement sent to James Zuelow <james_zuelow@ci.juneau.ak.us>:
New Bug report received and forwarded. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Tue, 06 Apr 2010 17:51:16 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: James Zuelow <james_zuelow@ci.juneau.ak.us>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cifs-utils: mount.cifs does not respect "user" flag
Date: Tue, 06 Apr 2010 09:23:59 -0800
Package: cifs-utils
Version: 2:4.1-1
Severity: normal


In the NEWS.Debian.gz file it says:

"As a consequence, users will no longer be able to run 
mount.cifs directly to mount shares unless mount points 
have been individually configured in /etc/fstab with 
the "user" mount option."

I have such mount points configured:

//server.my.domain/sData               /home/jfzuelow/sData      cifs acl,rw,user,noauto,credentials=/home/jfzuelow/.nt/creds 0 0

And yet when I attempt to mount the share:

/sbin/mount.cifs: not installed setuid - "user" CIFS mounts not
supported.jfzuelow@mis-jz-lnx:~$

So "user" mounts are not supported after all?

(And there should probably be a \n in the error message anyway.)

Cheers,

James

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cifs-utils depends on:
ii  libc6                  2.10.2-6          Embedded GNU C Library: Shared lib
ii  libkeyutils1           1.3-1             Linux Key Management Utilities (li
ii  libkrb5-3              1.8+dfsg~alpha1-7 MIT Kerberos runtime libraries
ii  libtalloc2             2.0.1-1           hierarchical pool based memory all
ii  samba-common           2:3.4.7~dfsg-1    common files used by both the Samb

cifs-utils recommends no packages.

Versions of packages cifs-utils suggests:
ii  smbclient                 2:3.4.7~dfsg-1 command-line SMB/CIFS clients for 

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#576713; Package cifs-utils. (Thu, 08 Apr 2010 05:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Christian PERRIER <bubulle@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Thu, 08 Apr 2010 05:42:05 GMT) (full text, mbox, link).


Message #10 received at 576713@bugs.debian.org (full text, mbox, reply):

From: Christian PERRIER <bubulle@debian.org>
To: samba@lists.samba.org
Cc: 576713@bugs.debian.org
Subject: Re: [Samba] how to mount shares as a user without mount.cifs setuid
Date: Thu, 8 Apr 2010 07:34:55 +0200
Quoting Jeff Layton (jlayton@samba.org):

> It's also worthwhile to note that I've recently re-enabled the ability
> to run mount.cifs as a setuid root program in the latest cifs-utils
> release:
> 
> http://linux-cifs.samba.org/cifs-utils/
> 
> ...you may want to switch to using that instead if you need the ability
> to use mount.cifs in this way.

cifs-utils 4.2 has yet to be packaged for Debian
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576314).

Will we decide to re-enable setuid? We already have a bug report
asking for this..:-)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576713





Forcibly Merged 576713 576868. Request was from Christian PERRIER <bubulle@debian.org> to control@bugs.debian.org. (Thu, 08 Apr 2010 17:57:11 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#576713; Package cifs-utils. (Fri, 09 Apr 2010 18:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to James Zuelow <James_Zuelow@ci.juneau.ak.us>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Fri, 09 Apr 2010 18:06:03 GMT) (full text, mbox, link).


Message #17 received at 576713@bugs.debian.org (full text, mbox, reply):

From: James Zuelow <James_Zuelow@ci.juneau.ak.us>
To: "'576713@bugs.debian.org'" <576713@bugs.debian.org>
Date: Fri, 9 Apr 2010 09:56:04 -0800
Note that I'm not actually asking for setuid to be restored, just pointing out that the documentation says that mount.cifs will respect the "user" flag in /etc/fstab, but at least on my system it does not.

(It could be that the internals of respecting the user flag require setuid -- I admit ignorance of the details)

James 



Reply sent to Steve Langasek <vorlon@debian.org>:
You have taken responsibility. (Mon, 31 May 2010 18:03:08 GMT) (full text, mbox, link).


Notification sent to James Zuelow <james_zuelow@ci.juneau.ak.us>:
Bug acknowledged by developer. (Mon, 31 May 2010 18:03:08 GMT) (full text, mbox, link).


Message #22 received at 576713-close@bugs.debian.org (full text, mbox, reply):

From: Steve Langasek <vorlon@debian.org>
To: 576713-close@bugs.debian.org
Subject: Bug#576713: fixed in cifs-utils 2:4.5-1
Date: Mon, 31 May 2010 18:02:08 +0000
Source: cifs-utils
Source-Version: 2:4.5-1

We believe that the bug you reported is fixed in the latest version of
cifs-utils, which is due to be installed in the Debian FTP archive:

cifs-utils_4.5-1.debian.tar.gz
  to main/c/cifs-utils/cifs-utils_4.5-1.debian.tar.gz
cifs-utils_4.5-1.dsc
  to main/c/cifs-utils/cifs-utils_4.5-1.dsc
cifs-utils_4.5-1_amd64.deb
  to main/c/cifs-utils/cifs-utils_4.5-1_amd64.deb
cifs-utils_4.5.orig.tar.bz2
  to main/c/cifs-utils/cifs-utils_4.5.orig.tar.bz2
smbfs_4.5-1_amd64.deb
  to main/c/cifs-utils/smbfs_4.5-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 576713@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve Langasek <vorlon@debian.org> (supplier of updated cifs-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 31 May 2010 03:28:42 -0700
Source: cifs-utils
Binary: cifs-utils smbfs
Architecture: source amd64
Version: 2:4.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
Changed-By: Steve Langasek <vorlon@debian.org>
Description: 
 cifs-utils - Common Internet File System utilities
 smbfs      - Common Internet File System utilities - compatibility package
Closes: 576314 576713
Changes: 
 cifs-utils (2:4.5-1) unstable; urgency=low
 .
   [ Christian Perrier ]
   * New upstream release.  Closes: #576314.
 .
   [ Steve Langasek ]
   * Set mount.cifs suid-root, again supported upstream and required for use
     in user mounts.  Closes: #576713.
Checksums-Sha1: 
 e32d0ba17866aa8773ca87c226df4f04e2605434 2070 cifs-utils_4.5-1.dsc
 5f19dd848d330e01ece18889f6d6b93927059296 321737 cifs-utils_4.5.orig.tar.bz2
 4b81133104e83e96f4d2173e3d25986776e70c73 4152 cifs-utils_4.5-1.debian.tar.gz
 221f56f658b41d11c02908426551626cdb677ffb 39814 cifs-utils_4.5-1_amd64.deb
 bc11daaab5f26de8517d260ff70212e38b7754cf 4322 smbfs_4.5-1_amd64.deb
Checksums-Sha256: 
 078c367e12ab289e90cbc2e3ef666bdfde820708f069ddb32a964445abce645c 2070 cifs-utils_4.5-1.dsc
 8287996c59609d3042691ae412d289995d63e7eaf561117f0b9a1ba421ecf25b 321737 cifs-utils_4.5.orig.tar.bz2
 81f8634b9d7f88d7bd5121691e72fa9d9546e623f964aad6a3f8e989977a53e7 4152 cifs-utils_4.5-1.debian.tar.gz
 4479f922e8f35be6514fb4b81739072d5e81c92c8d9c3234b7ffeeaea8426104 39814 cifs-utils_4.5-1_amd64.deb
 414752f5e4055d4be1da3c200910ccff1e247a73d29eb85715952f1a883c3460 4322 smbfs_4.5-1_amd64.deb
Files: 
 2e85e660c68f4de8ea9f38ea45c17d54 2070 otherosfs optional cifs-utils_4.5-1.dsc
 2d428d20e035367fd767faf6b4a939c4 321737 otherosfs optional cifs-utils_4.5.orig.tar.bz2
 083ebcbf68cb59a3eda0d25ce22af070 4152 otherosfs optional cifs-utils_4.5-1.debian.tar.gz
 622eac5fb553ead58e63bc71b0d77964 39814 otherosfs optional cifs-utils_4.5-1_amd64.deb
 47fdcff98fd556337051b61fdcb684f0 4322 otherosfs optional smbfs_4.5-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBTAP3+1aNMPMhshM9AQiylxAAm+Duj53fwVtVwk6fT/9g6tiuitrohGhM
KYt9RjL6VvS2gOE0dY8yNtPjjqMWa7/8UW+ZaKcfOfgn83o1bUEZZ9u2CYO0DVRx
a+TlnCVm9DXMls+67IG+LZTnsNq2YH2cN68zE4c4LJJxQaRSmnH3TKuI2PAIKdv+
WVxFLnFKQMj2jkt4hd/RkvyDUGqHwuI481oZMk+gKX4gpbElTbmTzNEuuEoFRr4A
fH0WrK2hbjpKnNSGA0Yb79iTU4tGHmeqlAOL1fJMWHZJXa0jKqHjHq+MwNqvjaax
nP0mJLmIWznYCyL/jxcsxx1ER2wLL5npWntahzQruVPJmHO842vZ36NV2UU9cSDx
ya4Knd+YydAxUGeCNRfNTsRLDkkSPLGoV2lXTLoOoxp1A8Qq5i39JMD5l+SG6pbQ
l6zZTmxeJi1Bq+Q3rY8liGEae4ddzjBP5ColKgiznwOVd3Srr+Flu0lYWVgyojk6
WsCpRmmxQBHfuf0H8XYtGoQ68Ni/I2JAHAfcQzACmmG1VuCP6cw1KGbJUUjbCYvF
loF9VtHahC3HIkTwuaIhYggpwElVFU36UUugeu27O7UdLBIk7SIQA9e3G6YLrHW2
FghP6bc4fezUmvuHiENE0cn2rTLAiUgtx4L6GrG5qtXpq9Y5cHpJcPHm8JrnrTg2
AngOy/fhvm8=
=rK+M
-----END PGP SIGNATURE-----





Reply sent to Steve Langasek <vorlon@debian.org>:
You have taken responsibility. (Mon, 31 May 2010 18:03:09 GMT) (full text, mbox, link).


Notification sent to Gary Dale <gary@extremeground.com>:
Bug acknowledged by developer. (Mon, 31 May 2010 18:03:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 01 Jul 2010 07:30:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 2 16:16:03 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.