I saw this problem reported by someone else, but then the bug report seemed to disappear. I get the copy error when uploading photos to an album if the private subdir is not under the drupal files subdir. If I put the private subdir under the files subdir it works, but then aren't I defeating the purpose of how private files work? I want to make sure files are not accessable via http, but only through drupal.

I can run the /?q=acidfree/test and everything reports as "OK".

Thanks,
Kory

Comments

vhmauery’s picture

Status: Active » Closed (fixed)

The private dir has to be under the drupal system files dir or it will not work. To make it secure, setup an apache directory stanza for that directory that tells it not to serve the files in that directory.

Something like this inside the virtual host section:

    # deny stuff from the private filemanager filestore
    <Directory /path/to/drupal/sites/*/files/private>
        Order Deny,Allow
        Deny from All
    </Directory>