Re: Unable to open /dev/mem: permission denied

2007-04-16 Thread Corinna Vinschen
On Apr 15 03:15, Brian Dessent wrote: > Jamie Mortimore wrote: > > > Unable to open /dev/mem: Permission denied > > > > I have set up a root user (in /etc/passwd) and am running the program > > as root but this doesn't solve the problem. Any help much apprecia

Re: Unable to open /dev/mem: permission denied

2007-04-15 Thread Brian Dessent
Jamie Mortimore wrote: > Unable to open /dev/mem: Permission denied > > I have set up a root user (in /etc/passwd) and am running the program > as root but this doesn't solve the problem. Any help much appreciated. Having a user named 'root' in passwd is irrelevant.

Unable to open /dev/mem: permission denied

2007-04-14 Thread Jamie Mortimore
v/mem", O_RDWR); if(fd < 0) { perror("Unable to open /dev/mem"); exit(2); } The output I get from this is: Unable to open /dev/mem: Permission denied I have set up a root user (in /etc/passwd) and am running the program as root but this doesn't solve the proble