Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: permission problems between commandline and CGI

by eoin (Monk)
on Jan 27, 2004 at 23:12 UTC ( [id://324567]=note: print w/replies, xml ) Need Help??


in reply to permission problems between commandline and CGI

"Error 1 Cannot to mount on /root/FLA_DHRS/SHRHZ006: Operation not permitted"
I'm no expert on these matters but this clearly tells me that you do not have adequit permissions to access this directory. Try moving the file to a directory that you can access.
"Error 2 Can't call method "sheets" on an undefined value at /var/www/cgi-bin/perldev/excel.cgi line 22."
You get this error because $xls is undefined because $xls = Spreadsheet::ParseExcel::Simple->read('/root/FLA_DHRS/SHRHZ006/7513.xls') can't set $xls because it can't access the specified file.

So I think that all you have to do is change the permissions for that directory/file or move the file to another directory, one that you can access.

Hope it helps
Eoin

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://324567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found