https://bugzilla.wikimedia.org/show_bug.cgi?id=35890

--- Comment #3 from Freer <[email protected]> 2012-04-11 18:58:13 UTC ---
It's an accessed denied error for sure, though I agree it's odd that it
presents this way.

How would I enable php errors? I have this is a subfolder (/wiki/) none of the
errors are showing up in my root error_log and I don't see any other error_log
files in the /wiki/ folder or subfolders.

It's definitely an access issue. I upload the file successfully, but I can't
view it. I go into the images folder, set all children to have full access
permissions, and then I can view it. It needs to have the correct permissions
in IIS, and I do believe that it falls under bugs, just happens to be one that
I have an immediate need to have fixed. 

Essentially, the wfMkdirParents function in GlobalFunctions.php needs to have
the mkdir function changed, or the $mode variable changed, when using IIS. The
folders it is creating do not have the correct permissions, even with the
/images/ directory set explicitly to recurs permissions to all children. I'd
change it myself, but I simply do not have the experience with the PHP/ISS mix
to get the permissions set using PHP. In php/apache or .net/iis this is a
simple function. I couldn't find ANYTHING useful on the web about how to
override permissions using php on iis. 

As I've found this "bug" unresolved on other forums, and with a much less clear
identification of the "bug", I thought it would be proactive to post it here.
Ideally, a conditional for iis folder creation vs apache folder creation in
future versions will clear this up.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to