Correct permissions for Writable folder? |
If your dir permissions are correctly set, worth taking a look at this as it could be to do with permissions of the httpd in SELinux.
This worked for me (Centos7): A simple check to validate: 1) Create test.php in app root <?php file_put_contents("/var/www/html/<codeigniterpath>/writable/test.txt", "test"); 2) Execute it from command line. It should create the file with test inside. Then delete test.txt. 3) Call from browser https://url/test.php If it doesn't create, check /var/log/audit.log, look for "denied { write } " relating to the httpd/apache. If you find these entries, then it might be to do with permissions for httpd in SELinux. Try: chcon -Rv --type=httpd_sys_rw_content_t /var/www/html/<codeigniterpath>/writable/ or google "SELinux apache write permissions" for clues |
Messages In This Thread |
Correct permissions for Writable folder? - by happyape - 03-08-2019, 10:35 AM
RE: Correct permissions for Writable folder? - by elephpantech - 03-08-2019, 12:26 PM
RE: Correct permissions for Writable folder? - by arwystli - 03-08-2019, 02:28 PM
RE: Correct permissions for Writable folder? - by InsiteFX - 03-09-2019, 02:35 PM
RE: Correct permissions for Writable folder? - by happyape - 03-11-2019, 08:13 AM
RE: Correct permissions for Writable folder? - by krlwbstr - 04-24-2020, 07:41 AM
RE: Correct permissions for Writable folder? - by InsiteFX - 04-24-2020, 08:11 AM
|