View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0019999||phpList 3 application||Automatic updater||public||26-06-19 15:52||05-01-21 11: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 ?
||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.
||Looks to be fixed in v3.5.9|
||Thanks @mariana can you process that?|
||Since this is fixed, I will mark this issue as resolved.|