Automatic CHMOD
Some scripts require that certain files or folders have specific CHMOD settings, for example 755 or 777.
You can ensure that all files with a specified extension automatically have the CHMOD settings that are required by placing the following code in the .htaccess file in your root directory:
chmod .htaccess files 644
chmod pl files 755
chmod pl files 755
Just substitute the filetypes and CHMOD settings with those you need to specify.




