Hi,
I have a folder stucture:
DRUPAL-ROOT
- files (access: apache rwx access)
- sites
- default
-files
-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:
Details
Type imce
Datum Maandag, 18. Oktober 2010 - 10:37
Gebruiker admin
Lokatie http://host/imce
Doorverwijzer
Bericht Access to files was denied.
Zwaartte fout
Hostnaam x.x.x.x
Handelingen
Can someone help me?
Thx in advance
Comments
Comment #1
ufku CreditAttribution: ufku commentedSymlinks under the file directory path won't work. Though, the file directory path can be a symlink.
sites/default/files can point to files.
Comment #2
longhornke85 CreditAttribution: longhornke85 commentedThx I will do that.
Comment #3
ramya_vishnu CreditAttribution: ramya_vishnu commented@ufku
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
Eg:
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 ?
Comment #4
ramya_vishnu CreditAttribution: ramya_vishnu commentedComment #5
dietric@gmail.comIs there a way to patch the module in order to allow symlinks under a directory path?
Comment #6
thallesThis looks me solved!
Comment #7
thalles