Re: [Vserver] OCS Inventory

From: Daniel W. Crompton <daniel.crompton_at_gmail.com>
Date: Fri 16 Mar 2007 - 15:04:16 GMT
Message-ID: <c17f91900703160804r7a886338wd747e60658b4c831@mail.gmail.com>

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/vserver
Received on Fri Mar 16 15:44:01 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 16 Mar 2007 - 15:44:08 GMT by hypermail 2.1.8