WordPress.org

Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1726 closed defect (bug) (fixed)

Post image upload have bad permissions

Reported by: ev3rywh3re Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: permissions upload file bg|2nd-opinion
Focuses: Cc:

Description

This bug is probably specific to my web host.

The files and directories created by the new image manager is creating files with 774 permissions. For my host these permissions need to be 755.

Change History (5)

#1 @skeltoac
15 years ago

755 sounds good to me. Any other comments on this before I change it?

#2 @skeltoac
15 years ago

For information:

Line 128 of upload.php reads:

			chmod($pathtofile2, 0666);

Line 94 of image-uploading.php reads:

chmod($file, 0775);

#3 @skeltoac
15 years ago

  • Keywords bg|2nd-opinion added

#4 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2967]) Create upload dirs with same perms as wp-content. fixes #1784 #1726

#5 @(none)
14 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.