Closed (works as designed)
Project:
Web File Manager
Version:
5.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2007 at 11:28 UTC
Updated:
1 Mar 2010 at 13:21 UTC
I've got the Drupal file root as /files and I want WebFM to just use the same root, but putting a blank entry gives a "WebFM root not set" when I try WebFM, and if I try "/" the settings form says "The leading character of the webfm root directory name must be alphanumeric."
Is there any way to do this? I remember being able to do it in a 1.x version.
Thanks
Comments
Comment #1
robmilne commentedNo, the rules changed such that using files as root is impossible. You'd have to hack the module to allow this.
Comment #2
ArgentOfChange commentedFor myself, I can't seem to set my WebFM root directory (/webfm), even though the directory exists, I have the correct permissions and my file-system is A-OK. What could be wrong?
Comment #3
forrestbao commentedYeah, I think this is a very bad problem. I don't wanna create another subdirectory under files directory.
Comment #4
sugiggs commentedI hack this module to make this work....
around line 807, my module will look like this
around line 1499
Comment #5
Danai-1 commentedHmm, I'd suggest that you put "./' in your Filesystem settings, and "files" in WebFM.
Or would this create a security problem?
Cheers
/Danai
Comment #6
robmilne commentedThe hack is very dangerous. The webfm root dir inside the Filesystem ensures that the modules that use the flat file-system cannot be tampered with.
Comment #7
Maitreya commentedosrry to old issue to comment on (besides i posted under different version)