You are not logged in.

#1 2011-06-24 00:52:54

QuimaxW
Member
From: Papua New Guinea
Registered: 2006-12-03
Posts: 228
Website

badblocks doesn't need root permissions?

I bought a new external usb hard drive for backup purposes. Since it's brand new, I figured I'd test it thoroughly. I found a badblocks command to run a destructive test on the drive. It's a "removable" drive, so I figure that might play into this, but as a normal user, the program is being allowed to perfom a full destructive test on the drive.

It just doesn't feel right, I'm used to sudo-ing everything like this. I'm just glad I didn't mistype the command and hit my internal drive!


"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot

Offline

#2 2011-06-24 08:09:12

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: badblocks doesn't need root permissions?

Maybe you are in the storage group and the external drive is added with root.storage ownership and the internal disks will have root.disk ownership or you are a member of the groups storage and/or disk?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB