Setting WebFM too to the file system root

gragus - May 27, 2008 - 17:50
Project:Web File Manager
Version:5.x-2.13
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi, stupid question:

I'd like to the the root for WebFM to the dir that is specified under admin/settings/file-system, NOT a subdir of that.
But the WebFM root directory field at admin/settings/webfm won't take a dot or a blank line.

How can I get WebFM to access all of my files?

Thanks!

#1

robmilne - May 29, 2008 - 01:36
Status:active» by design

Sorry - can't be done since file security is linked to roles. Each role must have a distinct root directory under the webfm root. Only way to do what you're asking for is to give all webfm roles with webfm access 'administer-webfm' permissions.

#2

gragus - May 29, 2008 - 19:48

That would be ok, only one user is supposed to use WebFM on this site anyway.
But the global WebFM configuration wants that all WebFM content is rooted in a subfolder of the file-system root, not in the root itself. I planned to use WebFM manly just as a file manager for all media content. Should I look into a different plugin?

Thanks!))

#3

Murz - July 9, 2008 - 12:10
Component:User interface» Code
Priority:critical» normal
Status:by design» active

I need this functionality too. And can't find any other modules that can do this.
For example, I have a hosting with bad ftp access (I can't change content and delete of files in root folder, but I can rename/add/delete this files from php (as apache user).

At now I need to change robots.txt file and can't do this with any exists Drupal module.

Maybe do this feature as patch (hack), not as module functional?

#4

K.J. - July 23, 2008 - 13:26

Actually, you don't "need" this technology. It's easily subverted. In Windows, create an NTFS Junction point (free tools available) in the files folder to point to the actual location of the share or in Linux, simply create the mount point/symbolic link in that directory.

The only limitation is that you can't create NTFS junction point across network shares, it's also a security risk if you allow writable directories to anonymous users if you allow junction points (they can create one to anywhere and get write access to it). But that shouldn't be a problem with this module because none of the directories need to be writable to anyone but the server.

#5

nirvanajyothi - August 16, 2008 - 14:04

I would love to have this too!

Basically....i give authenticated users permission to upload pdfs and flash as attachments to content types 'document' and flash respectively.As of now all the files are in one folder under default/files....so as the no of files increases its becoming too messed up.

Would like to reorganize these files(or files uploaded in future,atleast) into different folders based on their type and category manually.

So only i would need to have access to webfm.

But can files already attached to nodes be moved into a different folder using webfm ..and will it affect the node when it doesnt find the file in old location?

 
 

Drupal is a registered trademark of Dries Buytaert.