Re: SG_IO and security

Jeff Garzik
2004-08-12T17:14:07Z

Linus Torvalds wrote:
> Let's see now:
>
> brw-rw---- 1 root disk 3, 0 Jan 30 2003 /dev/hda
>
> would you put people you don't trust with your disk in the "disk" group?
>
> Right. If you trust somebody enough that you give him write access to the
> disk, then you might as well trust him enough to do commands on it.

Yeah, I agree. I was thinking write access to files on a hard drive,
not write access to the blkdev itself.

Jeff