[wp-trac] [WordPress Trac] #49403: WordPress prompts for FTP credentials to perform updates
WordPress Trac
noreply at wordpress.org
Tue Feb 11 11:58:51 UTC 2020
#49403: WordPress prompts for FTP credentials to perform updates
--------------------------+-----------------------------
Reporter: shadowlmd | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.3.2
Severity: major | Keywords:
Focuses: |
--------------------------+-----------------------------
For some reason WordPress believes it does not have write permissions when
in fact it does.
My configuration: Lighttpd running as www-data with PHP as fcgi.
Directory permissions are set to 770:user:www-data. During first time
installation WordPress successfully creates wp-config.php, so there are no
issues with permissions.
I have to add define(‘FS_METHOD’,’direct’); to wp-config.php to workaround
this bug. But I cannot do this for all people I am providing hosting to. I
keep getting asked why WP cannot update itself even when permissions are
set to 777. It is also leaves people with non-updating WP installations
and puts my server under risk of being turned into malware bot.
So, can you guys please fix the way WP detects if it has write access?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49403>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list