Re: user mounts and uuid handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 06 January 2009 14:27:37 Karel Zak wrote:
> On Tue, Jan 06, 2009 at 09:42:13AM -0500, Mike Frysinger wrote:
> > if a disk is named in /etc/fstab by UUID and given user access, it cannot
> > be unmounted by the user (root works fine).  for example:
> > $ blkid /dev/sdb1
> > /dev/sdb1: UUID="4583-4324" SEC_TYPE="msdos" TYPE="vfat"
> > $ grep 4583-4324 /etc/fstab
> > UUID="4583-4324" /mnt/tmp auto noauto,quiet,rw,defaults,users 0 0
> > $ mount /mnt/tmp/
> > $ umount /mnt/tmp/
> > umount: /mnt/tmp mount disagrees with the fstab
>
>  I cannot reproduce this problem (tested on v2.14.1 and the latest git):

we reproduced with 2.14.1 and 2.14.2-rc1

> $ grep test /etc/fstab
> UUID=8f13c27d-a3a2-4ddb-a66c-79da25b29f9f /mnt/test     ext3
> users,noatime,defaults 1 2

well you arent doing the same thing we are ;).  it appears to be the quotes 
that cause trouble.  if i use UUID=....., it works.  using UUID="....", it 
fails.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux