Re: blkid tells different informations to user or root

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

 



On Sat, Jan 05, 2013 at 12:20:00PM +0100, Helmut Hullen wrote:
> Running "blkid" as an underprivileged user apparently shows data (for  
> sdb) which don't fit for the actually configuration.

 Sure, if you have no permissions to revalidate the data...

> a) where's the bug for this different output?

 It's expected behavior, this is reason why programs like mount(8)
 have suid permissions.

 Please, use lsblk(1) if you want see more reliable overview about
 system block devices. It reads data from /sys and some details from
 udevd DB.

> b) how can I create an actual "/run/blkid/blkid.tab"? Only via "rm"?

 It should be unnecessary for privileged users.

    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