The mount command in Linux is used to attach a file system to a certain device. One of the least used features within mount is called bind. With bind, you can mount a certain directory to another directory within the file system. The result is, the files are accessible from both directories. This feature is particularly helpful when sharing files. I use it to map the home directory of a FTP user to the home directory of the web server. In this particular example, I’m using a FTP user called ‘ftpuser’ and mapping the drive to ‘/var/www,’ which is Apache’s home directory.
Mount Bind Command
mount --bind /var/www /home/ftpuser
Make It Permanent
To make this mount permanent, you need to add it to /etc/fstab.
/var/www /home/ftpuser bind defaults,bind 0 0
If you’re looking to manage your website via the browser, without the need for a file editor or FTP client, you should look into ShiftEdit. All your work is done via the browser. No more downloading and uploading files. No more editing offline. Changes are immediate.
ShiftEdit keeps tracks of your file changes as well with Revisions History. You can highlight several files and look at file differences. You can also bookmark files for easy access later. There are more features. Visit ShiftEdit if you’re interested.
If you are looking for an excellent Gnome-based FTP client for Ubuntu, take a close look at the Filezilla, a free, open-source, GNU General Public License FTP client software.
FileZilla is a fast and reliable cross-platform FTP, FTPS and SFTP client, with lots of useful features and an intuitive interface.
Filezilla has both client and server software. The Filezilla Client runs on multiple platforms like Windows, Linux and the Mac OS, while the Filezilla Server runs on Windows only.
Some of its the client’s prominent features are:
- Easy to use
- Supports FTP, FTP over SSL/TLS (FTPS) and SSH File Transfer Protocol (SFTP)
- Cross-platform. Runs on Windows, Linux, *BSD, OSX and more
- Available in many languages
- Supports resume and transfer of large files >4GB
- Powerful Site Manager and transfer queue
- Drag & drop support
- Configurable Speed limits
- Filename filters
- Network configuration wizard
- Remote file editing
- FTP-Proxy support
Installing Filezilla in Ubuntu 8.04 (Hardy Heron)
sudo apt-get install filezilla
Forum, Project Page, Wiki
Finally, here’s an interview with Tim Kosse, the lead developer of the Filezilla project.