GmailFS

Differences between revisions 2 and 3
Revision 2 as of 2007-11-14 21:04:54
Size: 813
Editor: 0x5552c254
Comment:
Revision 3 as of 2007-11-14 21:08:16
Size: 1163
Editor: 0x5552c254
Comment:
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
= Fixing the bugs with libgmail = = Troubleshooting =
Line 45: Line 45:
Coming soon! == HTTP Error 400: Bad Request ==

The HTTP 400 error is probably due to bugs in libgmail, please go to their homepage and manually upgrade to the newest version:

http://sourceforge.net/projects/libgmail/

= News =

Check out the GmailFS page, to see if there's been any changes lately:

http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html

Setting up GmailFS

First, get SuperUser priviledges:

sudo -s -H

Install the needed packages:

sudo aptitude install gmailfs

Create the directory for the filesystem:

mkdir /mnt/g

Adjust the priviledges:

Warning /!\ REMEMBER TO REPLACE "USERNAME" WITH YOUR USERNAME!

chmod 777 /mnt/g
chown USERNAME:USERNAME /mnt/g

Open /etc/fstab and insert this in the bottom:

Warning /!\ REMEMBER TO REPLACE "USERNAME" AND "PASSWORD" WITH YOUR ACCOUNT INFORMATION! - fsname should be set as something hard to guess!

/usr/share/pycentral/gmailfs/site-packages/gmailfs.py /mnt/g gmailfs username=USERNAME,password=PASSWORD,fsname=RANDOM

Run mount -a to se if everything is fine:

mount -a

Troubleshooting

HTTP Error 400: Bad Request

The HTTP 400 error is probably due to bugs in libgmail, please go to their homepage and manually upgrade to the newest version:

http://sourceforge.net/projects/libgmail/

News

Check out the GmailFS page, to see if there's been any changes lately:

http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html