WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 4 weeks ago

#49078 new defect (bug)

Media Library permission checks in WordPress

Reported by: danskoya Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.3.2
Component: Media Keywords:
Focuses: Cc:
PR Number:

Description

If permissions to ~/uploads/ are not set correctly (or was modified in some manner), deleting media will only delete database references (item(s) will disappear from the Media Library view) but the actual files are not deleted.

However, when uploading media, permission errors are displayed.

This seems to be the the default behavior.

When was the last time you checked the contents of ~/uploads/ directory?

Change History (2)

#1 @danskoya
4 weeks ago

platform:

Apache HTTPD 2.4.41, OpenSSL 1.1.1d, (mod_php) PHP 7.4
WordPress 5.3.2 (no plugins, default 2019 theme, no hard-coded mods)

#2 @SergeyBiryukov
4 weeks ago

  • Component changed from General to Media
Note: See TracTickets for help on using tickets.