Is there a script that can make all the files in a certain folder chmod to 777 once there created? I understand there may not be because of security reasons but it there something in maybe the .htaccess file that would allow this.
Script to make files chmod themselves.
If the folder and script both are 777 then you can create files with 777 through a simple php script.
| Code: |
| <?php
chmod('mydir/myfile.myext', 777); ?> |
If you want files to have 777 (or any) permissions as soon as they are created, take a look at the umask command.
