On 3/15/07, Jean-Michel Caricand <jean-michel.caricand@laposte.net> 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 Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Fri Mar 16 15:44:01 2007