On 3/15/07, Jean-Michel Caricand <[EMAIL PROTECTED]> wrote:
unless(-r "/dev/mem"){
die localtime()." => You don't have enough rights to
run this program\n";
}
After reading Jean-Marc's answer I thought it could also be the fact
that you might just need to create /dev/mem.
vs / # perl
unless(-r "/dev/mem"){
die localtime()." => You don't have enough rights to run this program\n";
}
vs / # ls -l /dev/mem
crw-r----- 1 root root 1, 1 Dec 20 00:15 /dev/mem
D.
blaze your trail
--
redhat
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver