Re: only root has acces to /dev/mem ?
Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 13 Sep 1999 21:29:25 +0100 (BST)
> sine i am using 2.2.12 i had no permissions to write on /dev/mem
> i belong to the group kmem who has +rw on it i cann't write
> when i chown it the user cann't still write on it
> only root can??
> was it a security bug or so??
Tightening rather than anything else. You need the RAWIO capability to use
/dev/mem or /dev/kmem. You can drop all other capabilities
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/