klunx
couldn't get your site up. Your problem sounds like an operating system issue not a Perl issue. On unix/linux boxes files have attributes to specify who can read, write and execute them.
Read enabled files can be read with more/less/vi or whatever, Write enabled can be written to, appended and deleted and finally executeable files can be run and in the case of directories you must have execute permission to cd into the directory.
You should be able to see the permissions by using the
command on most unix boes. This will return something like:
Code:
-rwxr-xr-x 1 testuser testusers 35983 May 29 15:41 testSS.pl
The bit you are interested in is:
username usergroup
Ignore the first dash, the next nine characters are permission flags if you see an r that is a read permission, etc.. The first three are for the user that owns the file (ie
username) the second three are for the group that owns the file (ie
groupname) and the last three are for any other user of the system.
So for anyone to execute your perl script you need the final x showing, a - here shows they do not have permission.
Finally, chmod (change mode) is used to alter the rwx bits of the file. How you do it is unix dependent but the following should work:
filename
Should make your perl script executable by anyone. (a is for anyone, x is for execute)
that might sort you out, you need to look at the man pages for chmod on your system..
Loon