WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 15 months ago

Last modified 14 months ago

#20848 closed defect (bug) (invalid)

Header images are cropped and resized with improper permissions.

Reported by: gtenney99 Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.2
Component: Media Keywords:
Focuses: Cc:

Description

On some systems the cropped and resized header images become unreadable by the web server.

The attached patch makes the files inherit the permissions from the parent folder.

Attachments (1)

custom-header.diff (1.3 KB) - added by gtenney99 3 years ago.

Download all attachments as: .zip

Change History (5)

@gtenney993 years ago

comment:1 @nacin19 months ago

  • Component changed from Administration to Appearance
  • Focuses administration added

comment:2 @ocean9019 months ago

  • Component changed from Appearance to Media
  • Focuses administration removed
  • Keywords reporter-feedback added; has-patch removed

Hello gtenney99, sorry you never got a response.

Are you still experience this issue?

Since WordPress 3.5 we have a new image editor which has a save() method. Each sub-class tries to set the correct file permissions, see for example trunk/src/wp-includes/class-wp-image-editor-gd.php#L380. We have to do something here if you still have some problems.

comment:3 @ericlewis15 months ago

  • Keywords reporter-feedback removed
  • Resolution set to invalid
  • Status changed from new to closed

No reporter feedback for three months, and no other comments on the ticket. Closing out, but @gtenney99 feel free to reopen this if you're still experiencing the issue.

comment:4 @SergeyBiryukov14 months ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.