https://bugzilla.wikimedia.org/show_bug.cgi?id=14213
--- Comment #7 from Romain Riviere <[email protected]> 2008-12-29 13:34:00 UTC --- For the record, other functions that fail on Windows when the parent directory is not user-readable include stat() and filesize(). As a result, uploaded files will all have a size of 0kb in the circumstances described in this bug. I believe we're left with 3 options : * file a bug against PHP. I suspect that it is a bug indeed, but I don't expect much here ... at any rate, it would probably take ages. So far I haven't found any similar report yet ; * write a wfFilesize() function based on fopen() and fstat() and replace calls to filesize() with it. Not a very pretty hack, but works for sure ; * have our respective admins move PHP's upload_tmp_dir, hence circumventing the problem. -- 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
