[wp-trac] [WordPress Trac] #49403: WordPress prompts for FTP credentials to perform updates

WordPress Trac noreply at wordpress.org
Tue Mar 3 06:00:25 UTC 2020


#49403: WordPress prompts for FTP credentials to perform updates
----------------------------+-----------------------
 Reporter:  shadowlmd       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:
Component:  Filesystem API  |     Version:  5.3.2
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+-----------------------
Changes (by shadowlmd):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 @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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49403#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list