[wp-trac] [WordPress Trac] #55307: After upgrading Debian, WordPress sites no longer update through FTP
WordPress Trac
noreply at wordpress.org
Sat Mar 5 19:27:51 UTC 2022
#55307: After upgrading Debian, WordPress sites no longer update through FTP
-----------------------------+------------------------------
Reporter: zippy1970 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: major | Resolution:
Keywords: needs-testing | Focuses:
-----------------------------+------------------------------
Changes (by costdev):
* version: 5.9 => trunk
Comment:
Ok so we can be sure that it's not a 5.9 issue as the error occurs when
upgrading from 5.7.5 to 5.8.
Changing version to `trunk` for now while we determine if something needs
to change in Core, your permissions, or if it's a Debian 11 issue.
From [https://wordpress.org/support/article/changing-file-permissions/
Changing File Permissions]:
> If WordPress is running as the FTP account, that account needs to have
write access, i.e., be the owner of the files, or belong to a group that
has write access. In the latter case, that would mean permissions are set
more permissively than default (for example, 775 rather than 755 for
folders, and 664 instead of 644).
Let's see if the issue still occurs if you use 775 for folders and 664 for
files:
{{{#!bash
cd /path/to/wordpress
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55307#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list