Re: Bug#801527: mount believes correctly-formatted UDF uid=forget option is in error

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

 



On Sun, Oct 11, 2015 at 10:58:48PM +0200, Andreas Henriksson wrote:
> Using LIBMOUNT_DEBUG=all mount -t udf -o uid=ignore,gid=forget ...
> shows the following message (among others):
> 
> 24171: libmount:    UTILS: cannot convert 'ignore' username to UID
> 
> ... and according to the following code you seem to be very right
> that except an actual uid you can also pass 'uid=ignore' or
> 'uid=forget' explicitly:
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/udf/super.c#n352
> 
> I see several possible options for implementing this in the future:
>  - special-case 'ignore' and 'forget' and pass those as is.
>  - if uid-lookup fails, try the above.
>  - (assuming different filesystems have different special options)
>    let any fs-option through as-is if 'smart lookup' fails.

This is the way how the original mount(8) has worked. Fixed:

 https://github.com/karelzak/util-linux/commit/440a355a3d3934d99f7ef82adf02342e6f2f7983

will be in v2.27.1.

Thanks!
    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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