For my Perl script files, what permissions do I need to set?

Depending on the specific function of the script, the appropriate permissions for Perl script files must be set:

You should set the file permissions for Perl script files that are accessible through the web to 755 (read, write, and execute permissions for the user, and read and execute permissions for the group and the world). The Perl script does not require write access for everyone in the globe.
You should set the file permissions for Perl script files to 700 (read, write, and execute permissions for the user, and no permissions for the group or the world) if you only use them on the command line.

Was this answer helpful?

Related Articles

What kind of file extensions are acceptable for Perl script files?

The extension of Perl script files can be either .pl or.cgi. However, the file extension depends...

What version of Perl is installed on Hostginger Hosting's servers?

Hostginger Hosting's servers currently use Perl version 5.30. To determine the Perl version from...

What is the path to the Perl executable?

The absolute path to the Perl executable on Hostginger Hosting's servers is /bin/perl. Generally...

What is the correct FTP transfer mode for Perl scripts?

Always utilize ASCII mode when using FTP to upload Perl scripts to your website. If you upload...