View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019999||phpList 3 application||Automatic updater||public||26-06-19 16:52||10-07-19 18:57|
|Priority||low||Severity||minor||Reproducibility||have not tried|
|Summary||0019999: Updater problem persists when file permission set to the account owner|
on Cpanel/WHM servers, files are often owned by the account user e.g. user:user
The 644 file and 755 dir permissions are the same.
ON my server, this is causing an error when the updater checks, presumably in the checkWritePermissions() function on line 142 of /updater/index.php
I can't understand why but is there any code I can add to debug ?
|Tags||No tags attached.|
||Should have said, the server uses PHP-FPM, the replacement for suPHP and suEXEC|
||@grindlay "I can't understand why but is there any code I can add to debug ?" -- yes you can check to see what checkWritePermissions() is returning (if it passes or fails), and also check what actual permissions are reported using e.g. fileperms(). I'm confused by your report as PHP-FPM is not a replacement for suPHP or suEXEC as far as I am aware; they are different things with different purposes.|
As you can see from the screen shot, checkWritePermissions() is returning something, I'm just not sure what - I'll try to add some debug code.
PHP-FPM is an alternative Apache PHP handler to suPHP with better performance and security.