This discussion is related to the
FileUpload addon.
I've recently added the FileUpload plugin and through testing noticed that uploads are not accessible by forum users. The forum users have the upload and download role permissions set, however the actual folder permissions aren't being set for web users to access the content (e.g., 777).
If I go back in and adjust the permissions on the new folder(s)/file(s) manually via chmod the items (and thumbnails) show up just fine. New uploads don't appear to be getting those permissions though.
I'm still getting up to speed on PHP, but I took a look at the class.fileupload.plugin.php file and the placemedia function appears to use mkdir with 777 permissions. So it must be something with my server setup...
Any suggestions?
I'm running Vanilla 2.0.18.1 with FileUpload 1.5.2 on a (hosted) linux server. The files are getting new file names generated. Also, $Configuration['Garden']['RewriteUrls'] = TRUE;
0 • •
Answers
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •have the same problem, but re-enabling the plugin doenst help.. in the script it looks like de folders were created with 777 but on the server de folders has 774 and uploaded files 664.. when i change that manually to 777 everything works!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •