Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

FileUpload Folder Permissions

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;
Tagged:

Answers

Sign In or Register to comment.