Posted by mazaza on May 5, 2012 at 8:16am
13 followers
Jump to:
| Project: | IMCE |
| Version: | 7.x-1.5 |
| Component: | Code |
| Category: | support request |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I have a setup, where the private file system path is "outside", relative to the public path:
public: domain.xx/files
private: domain.xx/private/files
Is there anyway I can configure IMCE, so it will be able to show files from both "roots"? Or how can I set the root to be "above" the /files library.
My default file configuration is public.
Thanks
Comments
#1
You can't set a root other than file system paths. You may access the files at separate urls like /imce/public, imce/private.
Creating symlinks could be a solution but Drupal does not support it currently.
#2
Would it be a viable support request "to make IMCE read from BOTH public and private path in admin/config/media/file-system" regardless of their path"
(And thereby not enforcing that private is a subdirectory of public)
#3
I would like to second this feature request. The proper "secure" setup of the private file system is to have it outside the web root, and with the current configuration pages of imce, this is impossible.
It might make sense to use the stream wrapper changes introduced in Drupal 7, and reference the file systems like:
"private://folder-name"
"public://folder-name"
#4
I second this. It is currently impossible to have a proper public/private file system with IMCE being configured to access both. I am quite surprised this has not been an issue for many other people. What does everyone else do?
#5
Having this same issue, closed #1700438: Why force IMCE to use default file system? as a duplicate of this issue.
#6
Also wanting to see this resolved as it is very annoying to use ftp to upload files to a public dir
#7
me too. I want to have some files in the private file system (published book PDFs) and some in public (content images and videos).
I am going to need to switch to media and give that a try... ufff
#8
I also think this is a must.
How about making two different file explorers available ? Being two buttons in CKEditor or two tabs inside IMCE file explorer...
One public, that would display folders of the public root only and format urls that way: "sites/default/files/..."
One private, that would display folders of the private root only and format urls that way: "system/files/..." so that we can apply restrictions with other modules such as File Entity Permissions.