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
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.
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
3 matches
Mail list logo