Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49403, comment 9


Ignore:
Timestamp:
03/03/2020 06:04:02 AM (5 years ago)
Author:
shadowlmd
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49403, comment 9

    initial v1  
    1 @noisysocks, can you please read a bit more carefully? The problem here is that WP checks __FILE__ owner and compares it with newly created file owner. This is NOT CORRECT. Everything is set up CORRECTLY even if for some reason you personally believe something should be done differently. This is a common hosting setup. NOTHING prevents WP from creating, deleting and overwriting files in its installation directory and subdirectories. WP should check if it CAN do required operations with files instead of checking for ownership or any other magic it should not really care about. It MAY print a warning if it doesn't like something about setup instead of refusing to update itself putting whole server at risk.
     1@noisysocks, the problem here is that WP checks index.php file owner and compares it with newly created file owner. This is NOT CORRECT. Everything is set up CORRECTLY even if for some reason you personally believe something should be done differently. This is a common hosting setup. NOTHING prevents WP from creating, deleting and overwriting files in its installation directory and subdirectories. WP should check if it CAN do required operations with files instead of checking for ownership or any other magic it should not really care about. It MAY print a warning if it doesn't like something about setup instead of refusing to update itself putting whole server at risk.