'unmount' fails for user mounted file system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mount
I use an encrypted ext3 file system stored in a file. I mount this file system through the cryptoloop module and a loop device. This approach worked fine in 8.04. On a fresh install of 8.10 amd64 Desktop, I receive the following when I attempt to unmount the user mounted filesystem.
umount: /mnt/secure mount disagrees with the fstab
Here is the line in my fstab file:
/media/
As a regular user, I am able to execute 'mount /mnt/secure'. I get prompted for a password and the file system is mounted on /mnt/secure as usual.
When I attempt 'umount /mnt/secure', I get the error cited above. If I become root, then I am able to unmount the file system. I should be able to do it as the user that originally mounted the file system.
* I marked the bug as a security vulnerability as it requires 'root' privileges to unmount a user mounted file system.
Changed in util-linux (Ubuntu): | |
status: | New → Confirmed |
Same here (Kubuntu 8.10, 32bit Desktop, backports enabled...)
No attention to this? Very strange .... nobody encrypting their USB Sticks, which
would (I think) use this princip?
As a workaround I added loop,encryption =twofish 0 0
/dev/loop0 /mnt/secure auto user,noauto,
to the fstab, which enabled user to unmount ... BUT:
... this means I have TO PRAY that /mnt/secure is mounted via loop0 ...
Regards - Henning