cat: /dev/mem: Operation not permitted
Tony Arnold
tony.arnold at manchester.ac.uk
Sun Mar 15 09:09:07 UTC 2009
Dotan,
Dotan Cohen wrote:
> $ sudo cat /dev/mem | strings > mem.txt
> cat: /dev/mem: Operation not permitted
I just tried $sudo cat /dev/mem and got lots of wierd stuff on the
screen, as I would expect.
I then tried sudo cat /dev/mem > mem.txt. It sat there for a while, and
I got the same error as you when I hit ctrl-C. mem.txt did contain some
data.
I'm guessing you cannot do a file close operation on /dev/mem, for some
reason.
Regards,
Tony.
--
Tony Arnold, Tel: +44 (0) 161 275 6093
Head of IT Security, Fax: +44 (0) 870 136 1004
University of Manchester, Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arnold at manchester.ac.uk
More information about the ubuntu-users
mailing list