Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Re: Re: Find the permission problem

by Fastolfe (Vicar)
on Dec 30, 2000 at 03:47 UTC ( #48930=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Find the permission problem
in thread Find the permission problem

rwx--x--x is a bad set of permissions for a Perl script (assuming that's what it is). Scripts need to be read and interpreted by an interpreter, which means the script needs to be readable to the interpreter. If your script is owned by yourself, but merely executable by the user running the interpreter (apache?), it won't be able to read the script and will fail.

Try setting the permissions to something more sane, like 755, and see if that helps.

In addition, if you're frequently executing one Perl script from within others, you may be interested in breaking that Perl script out into a module, and simply 'use' that module from your other Perl scripts that need to get at that common code.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2023-09-21 11:30 GMT
Find Nodes?
    Voting Booth?

    No recent polls found