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

Re: parted is ALMOST suitable





[snip]

file -s /dev/sda{1..5} | awk '{print $5}'

I was just about to post a very similar followup when I discovered a
gaping security hole (really, about as big as it gets) on my machine:

snowball:404$ ls -l /dev/sda2
brw-rw-rw- 1 root root 8, 2 Nov  7 07:54 /dev/sda2

I use stretch, but I have:

$ ls -l /dev/sda2
brw-rw---- 1 root disk 8, 2 nov  7 07:37 /dev/sda2

You might want to check your permissions as well....




Reply to: