GmailFS
Version: 0.8.0 Gmail Filesystem provides a mountable Linux filesystem which uses your Gmail account as its storage medium.
Gmail Filesystem is a Python application and uses the FUSE userland filesystem infrastructure to help provide the filesystem, and libgmail to communicate with Gmail. GmailFS supports most file operations such as read, write, open, close, stat, symlink, link, unlink, truncate and rename. This means that you can use all your favourite unix command line tools to operate on files stored on Gmail (cp, ls, mv, rm, ln, grep).
Homepage
urpmi gmailfs
How to mount partition as normal user
1) Copy /etc/gmailfs.conf in your home directory with this command:
$ cp /etc/gmailfs.conf ~/.gmailfs
2) Open the file in your home directory (is hidden) and update the lines:
username = your_user_name_without_@gmail.com
password = your_password
fsname = your_fsname
The fsname is the name of this Gmail filesystem. It is important to choose a hard-to-guess name because if others can guess the fsname, they can corrupt your Gmail filesystem by injecting spurious messages into your Inbox.
Enable log file (last line must be):
logfile = ~/gmailfs.log
Disable log file (last line must be):
# logfile = ~/gmailfs.log
3) Restrict access to the file (only user can read or write):
$ chmod 600 ~/.gmailfs
4) Add your user to fuse group with (as root):
# userdrake
5) Mount Gmail filesystem in default directory:
$ mount /mnt/gmailfs
IMPORTANT
What my RPM gmailfs-0.8.0 does:
Creates the directory /mnt/gmailfs/, change owner (root:fuse) and chmod 775
Adds "/usr/bin/gmailfs.py /mnt/gmailfs gmailfs noauto,users 0 0" to /etc/fstab
If you remove the RPM, it does:
Umount Gmail filesystem
Removes the line in /etc/fstab
Removes /mnt/gmailfs/













