How to list an UUID?

Daniel Pittman daniel at rimspace.net
Fri Mar 30 02:16:47 UTC 2007


Ron Morse <rbmorse at comcast.net> writes:
> On Thursday 29 March 2007 10:33:22 Thilo Six wrote:
>> Ron Morse wrote the following on 28.03.2007 20:11:
>> > On Wednesday 28 March 2007 11:30:45 Thilo Six wrote:
>> >> man 8 vol_id
>> >>
>> >> bye Thilo
>> >
>> > That's actually pretty useless. Why make someone
>> > unmount a partition just to check a UUID?
>>
>> ??
>>
> My bad.  vol_id wants sudo: 

Well, it needs to open the raw block device and read data direct from
it.  That doesn't need root access -- being a member of group 'disk'
gives you sufficient access to do it as a normal user. 

The permissions on the device node are what matter:

daniel at enki:~$ ls -l /dev/sda1
brw-rw---- 1 root root 8, 1 2007-03-27 16:07 /dev/sda1

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/





More information about the kubuntu-users mailing list