This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Go to "Webmin - Webmin Configuration - Webmin Modules - Delete", find Filemin(v0.9) and delete it, then in "Install" select "From FTP or URL" and paste this link https://github.com/Real-Gecko/filemin/raw/master/install/filemin-0.9.1.w..., this whole procedure is needed to be sure that's module updated correctly, as there're some issues while updating module like this.
Rename, chmod and chown now working with the jQuery-UI dialogs (although the chown one doesn't seem to get the current settings filled, but it's not a biggie ;)
Almost all operations on right top toolbar are oriented on multiple entries, that means you can for example select ten folders and twenty files and "chown" them all in one go. In such scenario it is not obvious who might the default owner be, that's why "chown" and "chmod" look kinda dumb right now.
Imagine that you have files belonging to Martin and files belonging to John and you want the new owner of all that bunch to be Lewis. Chown functionality can not even imagine what are you trying to do and who might the new owner be, so it is left empty. And "rename" functionality is single intry oriented, that's why we can set default while procedure initiated, there can not be file or folder with the same name anyway :)))
Thanks, nice update! A small issue: in my case, some of the directory icons are not there, and I get an icon with a question mark...
For the Webmin/Virtualmin team: can we move this file manager to a more convenient location? I mean you really need it everywhere so it's not cool, nor very ergonomic to click Webmin > Others > Filemin every time you try to get to it...
Or maybe we should talk to Ilia to get a link down (where info, logout and stuff are) in his Authentic theme? In the previous versions we had a shortcut menu, now gone.
Any ideas how can we ease access and highlight this important feature, where exactly can you put the link? At least for my Virtualmin clients is a very important one. For this reason I still think a tree panel with the folders on the left side (in the page, the right frame) of Filemin might be important. But it is of course your decision.
There's issue I cannot resolve. If I add Filemin to list of availavle modules For Virtualmin users it is accessible, but not shown under Virtualmin's "Webmin Modules" category. I'll try to resolve it shortly.
Actually AFAIK no module depends on File Manager as on Filemin too. So deleting one of theese leads to only one thing: you lose functionality provided by this module. That's good thing about modular design :)
I've just received 4 updates about new comments to this thread and have to say it is impossible to find them unless they have been posted at the bottom! Is it possible to link the email directly to the referenced comment?
I edited my etc/.bash_profile file in filemin and when I subsequently logged in via SSH I received an error that '\r' was found, unexpected end of file.
I was able to fix it with dos2unix, but wonder if filemin caused the problem and if so should it be using unix eol characters?
Yes, I've encountered this once too, while saved file from winduz PC. Can you, please, create a new issue here https://github.com/Real-Gecko/filemin/issues? I will try to fix it in next minor release.
Thanks, I think you can ignore this. I was logged in as root via ssh, and executed the above commands. I thought it created the folder in the parent folder for root, but maybe it didn't?
Would you consider implementing a "Compress & Download" feature, with an nice icon, for the folders? It would save us from writing huge scp commands (my usual paths are between 5 to 10 folders deep omg, why am I doing that?), and the users to quickly download whole directories. The old File Manager was sporting this one :) and no one will ever be able to tell you there is something missing from that dreadful Java applet :)
...and found in Filemin that I couldn't go to their parent folder/s. If I connect to FTP as this user I can visit their parent folder/s.
If I change the configuration in Webmin for this user so their parent folder is / then I can see parent folders in Filemin, but I think this now prevents me logging in with SSH keys.
Is there an easy way for new users to browse to parent folder in Filemin?
THE LONG WAITED! THE MOST WANTED! THE ONE AND ONLY - ACL IS HERE!!!
Go grab it :D
Full list of changes:
Switched to Webmin functions for HTTP/FTP Download, so download progress is shown now. Got rid of File::Fetch dependecy in module code.
HTTP/FTP Download now prompts for username and password on remote server, if any required user can provide it.
Removed "openlayers" folder. How did it get in here???? :D
Completely rewrote upload.cgi. Now upload progress is shown with Webmin`s upload tracker.
Memory usage is low due to direct HD write, even with REALLY big uploads(tested with 3 files totalling 1.61 GB).
BEWARE: if user reaches his/her disk quota then Webmin simply resets connection with no errors, can do nothing with it right now.
Fixed "select-unselect" checkbox behavior for old themes.
Updated russian translation.
THE LONG WAITED! THE MOST WANTED! THE ONE AND ONLY - ACL!!!
Default ACL behavior sets only one ACL entry '$HOME' for each user. This locks user in $HOME directory.
To grant full FS access to user replace '$HOME' with '$ROOT' in user's ACL.
If there's only one entry in ACL then it counts as "home" or "chroot", otherwise user will see accessible dirs relative to "/", just like it is in old FM.
Avoid trailing slash in ACL entries: "/usr/share/webmin" - gooooood, "/home/test/" - baaaaad.
Root bypasses ACL completely.
Note that even though user can be granted full FS access, he still works with his own privileges.
So anything that requires "root" permissions or "sudo" won't work.
Folders go first.
Rewrote directory listing procedure, now folders appear before files in list as in any other adequate file manager.
As a result first and second entry in '/' are now visible :)
Note that sorting table with javascript under Authentic or Framed themes will mix everything again until page reload ;-)
Major code cleanup of rendering procedure.
Fixed copy/cut/paste functionality.
FreeBSD support added.
Module uses Regexp::Common and URI packages to validate URIs in HTTP/FTP download functionality.
Be sure to install theese to make functionality work.
Admin user created during Webmin installation is not UNIX user, so module won't work for him.
If you want to provide some "system" file operations then convert "root" to Webmin user.
Go to Webmin->Webmin Users->$YOUR_USERN_NAME->Available Webmin modules (in addition to those from group) and click Filemin. You will see "Filemin access control options", input desired paths here, like /usr/share/webmin etc, one per line. If you want a full FS access then input only one option "$ROOT" there, and you'll be happy ;-)
I hoped that user who has the administrative privileges for Webmin/Virtualmin (and sudo) can have the same privileges to to access files too. As the Java File Manager has.
Practically I can access all root files and folders only folders belonging to other users and 0750 are locked now.
From my position, the root unlocking it's not an option for production servers.
And from my positon, accessing file system with root privileges or sudo from web interface is not an option for production servers ;-)
Let me explain initial idea behind Filemin: it was created to grant Virtualmin domain owners access to their $HOME and espcecially to "public_html". FTP sucks, it is my opinion I'm not going to discuss. But domain owners want to download/upload/compress/decompress/chmod/chown/etc files and folders located in their public_html. They deploy their sites, they install new modules, they backup folders, they even edit their CSS files online :D That's why Filemin was created and why it has such a restrictive permission model. If domain owner completely destroys his/her $HOME - I don't care, the system will continue to work, that's the most important.
But this forum thread shows that even sysadmins with root privileges want to edit files online, they want to download/upload/chmod/chown/etc, all that stuff those domain owners have with Filemin. And now I'm working on extending Filemin to make sysadmins happy too. However it is not as trivial as it seems, for example under FreeBSD there is user "admin" who may act as "root" in Webmin, but not a UNIX user at all, pure virtual, pure Webmin. I'll do my best to solve "admin" user issues, but for now it is as it is.
I think it will be a better option to fork Filemin, I'm already working on creating pure Virtualmin version of Filemin, that will act as Virtualmin plugin with simplified privileges, while developing more complex security model for original Filemin.
I looked for an answer to this before I posted but found none.
I am not sure how to download a file.
I though it would be just clicking on the file name. But it returns this,
"Error - Perl execution failed
Can't locate CGI.pm in @INC (@INC contains: ./lib /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/libexec/webmin/) at /usr/libexec/webmin/filemin/download.cgi line 6.
BEGIN failed--compilation aborted at /usr/libexec/webmin/filemin/download.cgi line 6."
I installed this 5 minutes ago, and am already in file manager heaven. It is incomparably faster than the existing Java app.
Beautiful!
I'm running CentOS Linux 6.6 and seems to be all working well.
Thanks for all the hard work - a vast improvement on the old java FM.
David Calderwood - Euro-Pacific Digital Media
Version 0.9.1 is out. Some fixes and improvements added. Full list of changes here: https://github.com/Real-Gecko/filemin/blob/master/CHANGELOG. Ready to install versions here: https://github.com/Real-Gecko/filemin/tree/master/install. PS: all users except root are still locked in $HOME, this issue requires some investigation to be implemented correctly.
What is the procedure to update? Thanks
Automatic update procedure is not available yet.
You have two options
Thanks! :D
Rename, chmod and chown now working with the jQuery-UI dialogs (although the chown one doesn't seem to get the current settings filled, but it's not a biggie ;)
Good work, thanks again!
jonny
Almost all operations on right top toolbar are oriented on multiple entries, that means you can for example select ten folders and twenty files and "chown" them all in one go. In such scenario it is not obvious who might the default owner be, that's why "chown" and "chmod" look kinda dumb right now. Imagine that you have files belonging to Martin and files belonging to John and you want the new owner of all that bunch to be Lewis. Chown functionality can not even imagine what are you trying to do and who might the new owner be, so it is left empty. And "rename" functionality is single intry oriented, that's why we can set default while procedure initiated, there can not be file or folder with the same name anyway :)))
Very good! Thanks a lot
Thanks for the help. I did installed this new version, but icons have gone.
If you use authentic theme update it to latest, it is a theme issue :)
Or just refresh page few times, it must help :)
That was the problem. Thanks!
Thanks, nice update! A small issue: in my case, some of the directory icons are not there, and I get an icon with a question mark...
For the Webmin/Virtualmin team: can we move this file manager to a more convenient location? I mean you really need it everywhere so it's not cool, nor very ergonomic to click Webmin > Others > Filemin every time you try to get to it...
Or maybe we should talk to Ilia to get a link down (where info, logout and stuff are) in his Authentic theme? In the previous versions we had a shortcut menu, now gone.
Any ideas how can we ease access and highlight this important feature, where exactly can you put the link? At least for my Virtualmin clients is a very important one. For this reason I still think a tree panel with the folders on the left side (in the page, the right frame) of Filemin might be important. But it is of course your decision.
Don't take the name of root in vain...
There's issue I cannot resolve. If I add Filemin to list of availavle modules For Virtualmin users it is accessible, but not shown under Virtualmin's "Webmin Modules" category. I'll try to resolve it shortly.
The link posted above Posted: Fri, 2015-05-29 08:13 is the first that has worked for me, I look forward to giving it a try!
Is there any problem deleting the old filemanager module. I've already deleted it as it was only throwing up a security warning for me anyway?
Well, if you already deleted it and everything works fine, then no problems at all :D
I normally don't shoot first and ask questions later! :-)
I'm new to Virtualmin/Webmin so not sure if I'm missing anything by deleting the old filemanager, I guess I'll find out soon enough!?
Actually AFAIK no module depends on File Manager as on Filemin too. So deleting one of theese leads to only one thing: you lose functionality provided by this module. That's good thing about modular design :)
I've just received 4 updates about new comments to this thread and have to say it is impossible to find them unless they have been posted at the bottom! Is it possible to link the email directly to the referenced comment?
I edited my etc/.bash_profile file in filemin and when I subsequently logged in via SSH I received an error that '\r' was found, unexpected end of file.
I was able to fix it with dos2unix, but wonder if filemin caused the problem and if so should it be using unix eol characters?
* Might have been caused by cut and paste? *
Yes, I've encountered this once too, while saved file from winduz PC. Can you, please, create a new issue here https://github.com/Real-Gecko/filemin/issues? I will try to fix it in next minor release.
I created a ~/.ssh directory from ssh, using...
... but can't see it in FileMin.
Should I be able to see it?
Yes, you must see it Filemin. Who's the owner of the folder?
Thanks, I think you can ignore this. I was logged in as root via ssh, and executed the above commands. I thought it created the folder in the parent folder for root, but maybe it didn't?
Well, I can't tell you, what exactly happened, you're the master of your server :-) But I see my /root/.ssh folder with 700 permissions ;-)
Yeah, so do I!
Feature request:
Would you consider implementing a "Compress & Download" feature, with an nice icon, for the folders? It would save us from writing huge scp commands (my usual paths are between 5 to 10 folders deep omg, why am I doing that?), and the users to quickly download whole directories. The old File Manager was sporting this one :) and no one will ever be able to tell you there is something missing from that dreadful Java applet :)
Thanks?
Don't take the name of root in vain...
It is planned for 1.0 release
https://github.com/Real-Gecko/filemin/milestones
Hello,
I created a new user, and converted them to a linux user, as per this link...
http://lowendtalk.com/discussion/18133/virtualmin-security-guide-part-on...
...and found in Filemin that I couldn't go to their parent folder/s. If I connect to FTP as this user I can visit their parent folder/s.
If I change the configuration in Webmin for this user so their parent folder is / then I can see parent folders in Filemin, but I think this now prevents me logging in with SSH keys.
Is there an easy way for new users to browse to parent folder in Filemin?
Thanks.
What's "parent folder"?
../home/userfolder
...anything above userfolder
ACL is coming in next minor release, this will solve your problem ;-)
Thanks, much appreciated - it is a great add-on for Webmin!
Great indeed, but can't navigate outside the my user folder :))
It was dicussed several times. ACL will fix that.
Well you can if you configure your user's home folder to be /
(But for me that screwed up ssh login with keys, otherwise it worked well!)
You can not move your home directory to /
Version 0.9.2 is out.
THE LONG WAITED! THE MOST WANTED! THE ONE AND ONLY - ACL IS HERE!!! Go grab it :D
Full list of changes:
Downloading https://github.com/Real-Gecko/filemin/blob/master/distrib/filemin-0.9.2.... .. .. download complete. Failed to install module from https://github.com/Real-Gecko/filemin/blob/master/distrib/filemin-0.9.2.... : Not a valid module file : gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
Hello,
Get the same message as above.
Thanks for sharing this module.
Greatings,
Eric
Try https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-0.9.2.l...
I decided to uninstall the wbm mode one and installed the debian package using this link
so hopefully updates in the future will be easier.
Seems to work fine - thanks again (sorry, not had a chance to test it much but looks good!)
jonny
p.s. Can't wait for this to become a standard part of the webmin distribution - any chance? :)
Hello,
It's OK with this link : https://github.com/Real-Gecko/filemin/blob/master/distrib/filemin-0.9.2....
download the package, then install from local file.
Thank you,
Eric
If you want to install module directly from Webmin interface with direct link you must provide this URL
https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-0.9.2.l...
FreeBSD users from
https://github.com/Real-Gecko/filemin/raw/master/distrib/filemin-0.9.2.f...
Unfortunately, the problem persist. Installed the latest update and I'm still stuck to the my_user home directory.
Ubuntu 12.04, My user are the Webmin admin user. and in sudo group.
Go to Webmin->Webmin Users->$YOUR_USERN_NAME->Available Webmin modules (in addition to those from group) and click Filemin. You will see "Filemin access control options", input desired paths here, like
/usr/share/webmin
etc, one per line. If you want a full FS access then input only one option "$ROOT" there, and you'll be happy ;-)Thanks, managed to access all server files. Still one problem. Folders who belong users, eg. home/username/ are not accessible.
Following errors occured while performing operation Error openind directory /backup Permission denied
Yes, I mentioned that in changelog. Your user works with his own privileges and listing other users' home is not one of them :)
If you want to use Filemin for administrative tasks, then unlock "root" user, he has no restrictions ;-)
I hoped that user who has the administrative privileges for Webmin/Virtualmin (and sudo) can have the same privileges to to access files too. As the Java File Manager has. Practically I can access all root files and folders only folders belonging to other users and 0750 are locked now.
From my position, the root unlocking it's not an option for production servers.
And from my positon, accessing file system with root privileges or sudo from web interface is not an option for production servers ;-)
Let me explain initial idea behind Filemin: it was created to grant Virtualmin domain owners access to their $HOME and espcecially to "public_html". FTP sucks, it is my opinion I'm not going to discuss. But domain owners want to download/upload/compress/decompress/chmod/chown/etc files and folders located in their public_html. They deploy their sites, they install new modules, they backup folders, they even edit their CSS files online :D That's why Filemin was created and why it has such a restrictive permission model. If domain owner completely destroys his/her $HOME - I don't care, the system will continue to work, that's the most important.
But this forum thread shows that even sysadmins with root privileges want to edit files online, they want to download/upload/chmod/chown/etc, all that stuff those domain owners have with Filemin. And now I'm working on extending Filemin to make sysadmins happy too. However it is not as trivial as it seems, for example under FreeBSD there is user "admin" who may act as "root" in Webmin, but not a UNIX user at all, pure virtual, pure Webmin. I'll do my best to solve "admin" user issues, but for now it is as it is.
I think it will be a better option to fork Filemin, I'm already working on creating pure Virtualmin version of Filemin, that will act as Virtualmin plugin with simplified privileges, while developing more complex security model for original Filemin.
I looked for an answer to this before I posted but found none.
I am not sure how to download a file.
I though it would be just clicking on the file name. But it returns this,
"Error - Perl execution failed
Can't locate CGI.pm in @INC (@INC contains: ./lib /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /usr/libexec/webmin/) at /usr/libexec/webmin/filemin/download.cgi line 6. BEGIN failed--compilation aborted at /usr/libexec/webmin/filemin/download.cgi line 6."
Am I missing a module??
Thanks, Jason
Pages