Make WordPress Core

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#20848 closed defect (bug) (invalid)

Header images are cropped and resized with improper permissions.

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

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 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @nacin
13 years ago

  • Component AdministrationAppearance
  • Focuses administration added

#2 @ocean90
13 years ago

  • Component AppearanceMedia
  • 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.

#3 @ericlewis
12 years ago

  • Keywords reporter-feedback removed
  • Resolutioninvalid
  • Status newclosed

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.

#4 @SergeyBiryukov
12 years ago

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