Home >> Perl / CGI
 |
CGI / Perl
File Permissions
It is EXTREMELY Important that you
set the file permissions of your Perl / CGI scripts correctly. Since we are
using suEXEC you will be forced to ensure that your scripts are secure. If your
file permissions are not set correctly you will get an "Internal Server
Error".
Please NOTE:
The Owner and Group of your CGI / Perl scripts has to be the "Default
User" and the "Default Group". This User has been provided to you
at the time your hosting package for icannbudgetDOTorg was created. All additional users, that are
created by you cannot Own the CGI / Perl scripts.
It is safest, to set the file permissions to 700 for your CGI / Perl scripts.
i.e. Only the owner of the file can read, write and execute this file. No other
User has any access to this file.
The maximum permission that you can give for these scripts is 755. i.e. the
owner of the file can read, write and execute the file. All other users can read
and execute the file, but they cannot write to the file.
You need to ensure the following for your CGI / Perl scripts to work correctly:
1) The Owner of the scripts is the "Default User". If the Owner is the
default user then the group of the file will automatically be the "Default
group"
2) The file has correct permissions i.e. 700 / 711 / 744 or 755. Any other
permission will result in a "Internal Server Error".
3) The directory in which this file exists does not have a setuid/setgid bit.
4) The directory in which the file exists should not be writable by any other
User. i.e. other users of the same group or any other users should not be able
to write to this directory. You should idealy set the permission of this
directory to 755.
 |

| |
icannbudgetDOTorg |  | icannbudgetDOTorg |  |  | dmailDOTicannbudgetDOTorg |  |  | dmailDOTicannbudgetDOTorg |  |  | icannbudgetDOTorg |  |
|
|

01/Jan/1970
01/Jan/1970

|