Package: mount
Version: 2.13.1.1-1
Severity: normal

At work, I have a home directory on a windows server.
Therefore, my laptop has a /etc/fstab entry for it so 
I can mount it. I use the "user" option in order to avoid
needing root to mount it.

Mounting this works fine, but I cannot umount for some reason.
I get this error message:
$ mount pompel/home
$ umount pompel/home
umount: /home/helgehaf/pompel/home mount disagrees with the fstab

The root user have no problem umounting, with exactly the same command.
Using absolute paths like /home/helgehaf/pompel/home changes nothing.
The filesystem itself works fine, although somewhat slow.

The entry in /etc/fstab looks like this:

\\pompel.aitel.hist.no\HOME /home/helgehaf/pompel/home cifs
domain=AITELANS,credentials=/etc/fstab-smb-credentials,rw,noauto,iocharset=utf8,uid=helgehaf,gid=ansatt,sockopt=TCP_NODELAY,user

Using "users" instead of "user" changes nothing either.

I think the user doing the mount should be able to umount too,
as long as there is no open files. I cannot see anything wrong with
the fstab entry. I have seen this problem forever, that is since
mount.cifs became useable. 

Mounting and umounting an iso9660 cdrom works fine as an unprivileged
user. 
/ and /home are ext3 filesystems, if that matters. /home is mounted
with nodev, nosuid, usrquota and user_xattr


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (800, 'stable'), (700, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27-rc8-hh1 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mount depends on:
ii  libblkid1                     1.41.0-3   block device id library
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libselinux1                   2.0.65-5   SELinux shared libraries
ii  libuuid1                      1.41.0-3   universally unique id library

mount recommends no packages.

Versions of packages mount suggests:
pn  nfs-common                    <none>     (no description available)

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to