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

Re: Need help with k3b



Am Do, den 17.06.2004 schrieb eric tanguy um 16:42:

[ reordered because of bad top-post (shouldn't answer because of this) ]

> > So, which other device has group 'disk' ownership, but is not owned by
> > you?

> Sorry but how can i see this easily ?

find /dev/ -type b | xargs ls -ld | awk ' { if ($4=="disk") if
($3!="tanguy") print $0 } '

Change ($3!="tanguy") to ($3=="tanguy") to get all block devices group
owned by disk and owned by user tanguy.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 18:10:18 up 2 days, 14:37, load average: 0.33, 0.68, 0.80 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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