[Bug 89583] /dev/mem not readable to root

towsonu2003 towsonu2003 at gmail.com
Sun Mar 4 01:57:27 UTC 2007


Public bug reported:

Binary package hint: linux-source-2.6.15

I closed a file without saving, and needed to recover it. While looking around, I came accross this bit of information:
http://www.novell.com/coolsolutions/tip/18724.html

which tells you to copy /dev/mem to a file and use that file to find the
lost file... Problem is:

$ cp /dev/mem ./memory.bin
cp: cannot open `/dev/mem' for reading: Permission denied

which is nice I guess? but more problematically:

$ sudo -i
# cp /dev/mem ./memory.bin
cp: reading `/dev/mem': Operation not permitted

I would think root should be able to read and write anything in the
computer, even if it may be a security concern or even if the action
will break stuff...

** Affects: linux-source-2.6.15 (Ubuntu)
     Importance: Low
         Status: Unconfirmed

** Changed in: linux-source-2.6.15 (Ubuntu)
   Importance: Undecided => Low

-- 
/dev/mem not readable to root
https://launchpad.net/bugs/89583




More information about the kernel-bugs mailing list