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

towsonu2003 towsonu2003 at gmail.com
Sun Mar 4 01:58:03 UTC 2007


this is on an up-to-date dapper

** Description changed:

  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
+ $ 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...

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




More information about the kernel-bugs mailing list