Make WordPress Core

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#1726 closed defect (bug) (fixed)

Post image upload have bad permissions

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

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
21 years ago

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

#2 @skeltoac
21 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
21 years ago

  • Keywords bg|2nd-opinion added

#4 @ryan
21 years ago

  • Resolutionfixed
  • Status newclosed

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

#5 @(none)
20 years ago

  • Milestone 2.0

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.