[Pkg-samba-maint] Bug#586009: Bug#586009: cifs-utils: mount.cifs will mount as user, but requires root to unmount
Steve Langasek
vorlon at debian.org
Tue Jun 15 23:10:16 UTC 2010
retitle 586009 mount.cifs appends trailing slash to share name in mtab, prevents user unmounts
tags 58609 confirmed upstream
thanks
On Tue, Jun 15, 2010 at 09:08:56AM -0800, James Zuelow wrote:
> I appreciate the new cifs.utils version coming down as I can now mount
> CIFS shares as a regular user.
> However I cannot UNMOUNT the shares as a regular user.
> List mounts:
> james at mis-jz-lnx:~$ mount
<snip>
> //files.ci.juneau.ak.us/james$/ on /home/james/G type cifs (rw,mand,nosuid,nodev,user=james)
> Attempt to umount cifs share:
> james at mis-jz-lnx:~$ umount G
> umount: /home/james/G mount disagrees with the fstab
> Relevant fstab entry:
> //files.ci.juneau.ak.us/james$ /home/james/G cifs acl,rw,user,noauto,credentials=/home/james/.nt/creds 0 0
This will be a bug in the /etc/mtab entries that mount.cifs is outputting.
As a workaround, you can add a trailing slash to the filesystem field in
/etc/fstab for this share and 'umount' should then recognize the
equivalence and permit you to unmount it. However, I think the trailing
slash in /etc/mtab is wrong and should be fixed upstream - at which point
this will break again and you'll need to switch it back the other way.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20100615/632198f2/attachment.pgp>
More information about the Pkg-samba-maint
mailing list