I've seen a couple of threads somewhat related to this issue, but I think I may have found a different element to it that doesn't fit elsewhere. When I try to upload files through the media browser, they don't appear (the whole access denied issue). If I add through the file uploader instead of media browser, they work fine. This is only a problem with a private filesystem, it works fine when using a public filesystem. I am wondering whether this has much to do with the different styles the images are being assigned. For instance, one of my gallery pages want to serve files from files/private/styles/... but no files were ever created in the styles directory. If I manually (via sftp) add the file to the corresponding directory, it appears just fine, indicating to me that the files are being managed by drupal just fine but the media browser is failing to upload its files to the correct locations. Could anyone either confirm this for me or ideally find a solution? This issue makes much of my site inoperable since I need to use a private filesystem. Thanks!

Comments

robby.griffin’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
dave reid’s picture

Issue tags: +private files
stijndm’s picture

I believe I found a solution to this problem, my solution is on the 1.x branch. (It is to do with files managed through the Media widget in the field UI.)

http://drupal.org/node/1223670#comment-5851900

devin carlson’s picture

Status: Active » Closed (fixed)

File entity unstable8/alpha1 should have much improved private file support. I'd suggest using the latest -dev release in the meantime.