Forbidden Uploads

Asked by Edgar Polanco

There is a minimal bug. When someone upload a file, then someone wants to see that file, it gets a 403 Forbidden Message. I get this message testing at Apache 2 in Ubuntu(Linux), I didn't got this message(error to me) under Windows. I guess this is in the engine.php file, at the final of this file, where it is typed chmod(" ". ...); the number of the mod param isn't available as I see in the PHP documentation.

Question information

Language:
English Edit question
Status:
Solved
For:
zombieCMS Edit question
Assignee:
No assignee Edit question
Solved by:
Edgar Polanco
Solved:
Last query:
Last reply:

This question was originally filed as bug #361420.

Revision history for this message
Edgar Polanco (theboss-edgar14) said :
#1

Well the fix it's just change the line code to:

chmod($data["path"], 0644);