FileManager - Web-based File Management Package for Linux and Unix
Version 0.972 Download 158K
FileManager is a multi-user, web-based file, directory, and remote command manager for Linux and Unix-like operating systems. It displays directory information, allows file viewing and editing, assists in directory navigation, and can execute any command for which the user account has privilege. FileManager is written in Perl and comes with its own SSL web server for extra security.
FileManager is cross-browser compatible and has context-sensitive menus for quick navigation and file/directory commands. FileManager also comes with a built-in, full-screen, text editor for quick editing and file updates.
Patch for version 0.972 users: Problem: files with non-alphanumeric characters are not properly handled by te context menus. Solution: In the file /usr/local/fm/fm.cgi in the subroutine FixCommand change the code (near line 818) from
$cmd =~ s/[^\w \/,:\+\-\$\.\*]//;
$cmd =~ s/\s+$//;
$cmd =~ s/^\s+//;
$arg1 =~ s/[^\w \/,:\.\+\-\$\\\*]//;
$arg2 =~ s/[^\w \/,:\.\+\-\$\\\*]//;
to
$cmd =~ s/[^\w \/,:\+\-\$\.\*\'\?]//;
$cmd =~ s/\s+$//;
$cmd =~ s/^\s+//;
$arg1 =~ s/[^\w \?\/,:\.\+\-\$\\\*]//;
$arg2 =~ s/[^\w \?\/,:\.\+\-\$\\\*]//;
Bug first reported by Robert Geranio.
Patch for Red Hat 9 users: When running FileManager on a "clean install" of Red Hat 9, the login fails. (This is not a problem for Red Hat 9 upgrades.) To fix the problem change line 881 in /usr/local/fm/etc/fm_miniserv.pl from
$sid = lc(unpack('h*', $tmpsid));
to
$sid = lc(unpack('h*', $tmpsid));
$sid = substr($sid, 0, 32);
Patch courtesy of Oktay Altunergil.
Bugfix for Red Hat users: If you receive the message: Malformed UTF-8 character (unexpected end of string) at ... the problem is the LANG environment variable. Fix: remove the ".UTF-8" portion of the variable by inserting export LANG=en_US in the /usr/local/fm/etc/start file after the line begining with echo .
If you would like to subscribe to the FileManager Developers/Testers mailing list, send an email with the subject "Subscribe" to fmdevel@horsburgh.com.
You can click on any of the thumbnail screen shots to see an enlarged view.
Icon view
Icon view (with context-sensitive menu shown)
Properties pop-up window
Detailed directory view sorted by size
Required Software
Linux/Unix (a modern version)
Perl Version 5.005 or later (http://www.cpan.org/)
Changes from Version 0.97 to 0.972
- Bug Fix: The find function now works for non-root, jailed users.
- New Feature: A new option (AllowJailOut) controls whether or not the
directory string at the top of the files area allows a user
to "click" outside (or above) their home directory.
- Bug Fix: The AllowRootUser parameter now works. Setting it to zero (0)
will disable the 'root' user. To change it back, edit the
/usr/local/fm/fm_preferences.pl file and change the
AllowRootUser parameter back to one (1);
First reported by: umuta at sabanciuniv.edu
- Bug Fix: Discovered and plugged a SECURITY HOLE that allowed users
to view any file on the system accessible root. You can still
enable the security hole, during setup, for personal use machines
and retain more of the "QuickView" features.
First reported by: ville.ahlgren at smarttrust.com
- Bug Fix: Fixed a bug that prevented non-root Jailed users from
creating subdirectories.
- Update: Updated the security certificate to extend the termination date.
- Update: Added info about how to recreate the security certificate to the
README file.
- Bug Fix:Fixed a directory creation bug that affected non-root users.
First reported by: jimmc at irobot.com
- Bug Fix:Fixed a "group" permissions problem that prevented users
from accessing group read/write/execute files.
First reported by: tdavis at birddog.com
- Bug Fix:Fixed a bug in the "Command Line" box which prevented
using the asterisk "*" wildcard.
- Update: Added support for 29 more OS types.
- Update: Updated miniserv.pl to version 0.92 in webmin
Changes from Version 0.963 to 0.97
- New Feature: Added the ability to "Jail" users by limiting the
directory and the valid commands. Note that this severely limits
the functionality of FileManager, but restricts the users more than
the normal OS controls.
- New Feature: Added ability to specify maximum file upload size
during installation.
- New Feature: Preferences are now saved across FileManager updates.
- New Feature: Only files in the current directory can be edited.
- New Feature: Setup.sh now checks for the Filesys::Df module and
optionally loads it from CPAN. If it is not found, a warning message
is printed.
- Updated: Replaced the menu.js code with separate DOM, NS4, and
IE4 javascript modules. These are based on the HierMenu routines.
FileManager now supports NS4+ (including mozilla), IE4+ (non-Mac),
IE5+, and any DOM compliant browsers.
Currently that excludes Konqueror and Opera.
- Updated: admin.pl to include a "browser-cache-buster."
- Updated: prefs.pl and editor.pl to include a "browser-cache-buster."
- Bug Fix: Fixed QuickDir anomalies when specifying relative directories.
- Updated: The link target specification in List Mode changed from
italics to red text preceeded with '->'.
- Updated: Minor formatting changes to "root" statistics display.
Changes from Version 0.962 to 0.963
- Bug Fix: A logic error affecting system and MD5 encrypted passwords
has been fixed. Hopefully the username/password problems have
now been solved!
- New: Added 11 additional file icons.
- New: Added support for additional OS's.
- Updated fm_miniserv (enhanced stability)
- Updated system password support. Now uses either the FileManager
handled password files, or the system files. Also now supports MD5
encryption.
Changes from Version 0.961 to 0.962
- Bug Fix: A possible security hole associated with the effective UID on some operating systems has been fixed.
- New Feature: Additional code was added to combat browser caching problems.
- New Feature: The "Root" status commands for uptime, memory, and disks are now configurable.
- Enhancement: The user enable/disable selection capability was enhanced.
Changes from Version 0.96 to 0.961
- Bug Fix: Quick View and other context-menu file I/O operations
were broken. It should be fixed now.
--First reported by Bryan K. Wright <bryan at ayesha.phys.virginia.edu>
- New Feature: Added an "enable all" and "disable all" feature to the
Users Setup page.
- New Feature: A new file fm_disable.users contains a list of users
that do not have access to FileManager.
Changes from Version 0.95 to 0.96
- New Feature: Added uptime and memory usage on systems that support
the uptime and free commands. Displayed only for the "root" user.
- New Feature: added a "forkcgis" parameter to the web server to
handle non-standard CGI routines (especially file uploads).
- New Feature: added the ability to change the icon file types via
the admin settings section "File Types."
- New Feature: Eliminated reliance on CGI.pm.
- New Feature: Eliminated client-side cookies, replaced them with
server-side cookies (kookie) that allows a user to retain settings
when logging in from different machines (or browsers).
- New Feature: For linked (alias) files/directories the "mode" column
now displays the target file/directory relative to the current
directory.
- New Feature: Setup.sh now checks version numbers. If upgrading
and version is less than 0.94 then the configuration files are
purged before installation.
- Bug Fix: Added the missing routine "escapeHTML" to cgi-lib.pl.
--First reported by "Fabio Cardillo" <fabio at alfaprint.com.br>
- Bug Fix: Variable $now in fm_editor was not pre-defined and caused
an error when using the "strict" pragma.
- Bug Fix: Changed the default web server processing execution mode
to "forked" processing. This seems to fix the logout problem and
some upload errors.
- Bug Fix: Changed "getpwent" to "getpwnam" in setup.sh to handle
root passwords better.
- Bug Fix: The correct username is shown in the Editor window
- Bug Fix: The menu button bar (home,help,settings,prefs) is
shown in the Editor header.
- Bug Fix: The logout link is shown on the Editor pages.
- Bug Fix: The server no longer throws an exception when a user tries
to access an unaccessible file. An error message is now displayed.
Changes from Version 0.94 to 0.95
- Added the ability to customize the pop-up context menus.
- Added the ability to view all valid system login accounts,
not just those with a UID >= 500.
- Added a Perl module pre-check and auto-install capability in setup.sh.
- Added additional information to the Properties window.
- Updated the mini-server and session_login scripts to be more
error tolerant.
- Fixed a bug which caused the login script to hang on some
systems when using SSL.
- Fixed a bug in the QuickDir command which did not properly
reset the current working directory.
- The setup.sh routine no longer asks for the "root" password.
Changes from Version 0.93 to 0.94
- Fixed a bug in the "Folder Delete" code which did not allow
a folder to be deleted on some systems.
- Complete re-write of internal file and user handling code.
- Separated administration program from main program.
- Now uses system usernames/passwords for authentication
--First requested by Martin Foster <martinf at control-f1.com>
- Fixed a ".readme" display error.
- Fixed the directory duplication command.
Changes from Version 0.92 to 0.93
- Documentation updated.
- Fixed a bug in the "Quick Dir" section.
- Added OS detection support for 30 more systems.
- Added the ability to display ".readme" files when entering a
directory. This feature is controled by the "ShowReadme" parameter
on the AdminSettings/Configuration page.
--First requested by Filippo Dini <phil at yatta-it.com>
Changes from Version 0.91 to 0.92
- Fixed an upload bug which resulted in a "Short Read" error.
--First reported by Filippo Dini <phil at yatta-it.com>
- All CGI's in the fm_miniserv.pl routinue are now forked as
a separate process by default.
- Fixed a download bug that only allowed "home" directory downloads.
Changes from Version 0.9 to 0.91
- General code optimization.
- Added SSL support.
--First suggested by Vito Sansevero <zues1 at home.com>
- Added multi-user (session) support.
--First suggested by Vito Sansevero <zues1 at home.com>
- Disabled the "External Web Server" option. (It's still available,
just commented out in setup.sh.
- Added a download option to the pop-up menus.