I have a folder stucture:
- files (access: apache rwx access)
- sites
- default
-files (ln -s ../../../files access: apache rwx access)
so if I go in the browser to the "sites/default/files/files/" then I get files from the rootfolder "files"
but when I configure IMCE to use the folder sites/default/files/files I get the message access denied.

I don't know what to do, and don't find specific errors just the one in the drupal log:
Type imce
Datum Maandag, 18. Oktober 2010 - 10:37
Gebruiker admin
Lokatie http://host/imce
Bericht Access to files was denied.
Zwaartte fout
Hostnaam x.x.x.x

Can someone help me?
Thx in advance


ufku’s picture

Status:Active» Closed (works as designed)

Symlinks under the file directory path won't work. Though, the file directory path can be a symlink.
sites/default/files can point to files.

longhornke85’s picture

Thx I will do that.

ramya_vishnu’s picture

Issue summary:View changes
Status:Closed (works as designed)» Active
Issue tags:+symlinks


I have the below structure and need your advice to achieve the expected. I am not able to upload the files to linked path that has below structure.

drwxrwsr-x /var/www/html/drupal/sites/default/files
lrwxrwxrwx /var/www/html/drupal/sites/default/files/images -> /var/www/html/images/(drwxrwsr-x )

But I am able to create a sub-directory through IMCE in /var/www/html/drupal/sites/default/files/images

created /var/www/html/drupal/sites/default/files/images/new (drwxrwxr-x), But not able to upload files to it.

So you mean, I can directly create a symlink for this path /var/www/html/drupal/sites/default/files ?

ramya_vishnu’s picture

Assigned:longhornke85» Unassigned
dietric@gmail.com’s picture

Is there a way to patch the module in order to allow symlinks under a directory path?