MyBB Community Forums

Full Version: [F] Safe Mode & mkdir
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Creating monthly directories for attachments without chmodding them to 0777 causes problems on servers with safe mode on. On one of my installations the problem occured, that the directory is created successfully, but not writeable afterwards. The fallback to maindirectory is not triggered, because the directory exists.
Hi Talion,

Thanks for your bug report - I was actually under the impression checking for this was already in place, but it appears not. Can you upload the attached version of inc/functions_upload.php to your forum and see if you're able to successfully upload attachments then?
Works fine, thanks!
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.