Results 1 to 2 of 2
I am running Fedora Core 4 and have set up GmailFS on my computer to create a filesystem based on my gmail account. I have followed all of the directions ...
- 03-11-2006 #1Just Joined!
- Join Date
- Aug 2004
- Posts
- 4
Accessing GmailFS mount as a nonroot user
I am running Fedora Core 4 and have set up GmailFS on my computer to create a filesystem based on my gmail account. I have followed all of the directions as closely as possible, and I can successfully mount/view my directory as root.
As soon as I try and view the directory as a normal user however, it doesn't even treat it as a directory. When it is successfully mounted and viewable as root, a dir by a normal user shows:
?--------- ? ? ? ? ? GmailFS
for my mount. The mount command shows it as mounted:
/dev/fuse on /mnt/GmailFS type fuse (rw,nosuid,nodev)
I have checked all the files I can think of, fusermount, mount.gmailfs, gmailfs.py and the device /dev/fuse and all have world read and/or execute permissions set as appropriate. I have been unable to find any other reference to this problem.
Thanks
Nathan
- 07-11-2006 #2Just Joined!
- Join Date
- Jul 2006
- Posts
- 1
Have you tried this...
...it worked for me.
Assuming mount point is "/mnt/gmail":
Also, make sure that the entry in /etc/fstab has the "user" option, so that ordinary, non-root, users can mount/umount the device.Code:chown root:fuse /mnt/gmail chmod 755 /mnt/gmail
e.g.This entry assumes that "/etc/gmailfs/gmailfs.conf" exists and has appropriate configuration (rather than specifying username etc in /etc/fstab).Code:/usr/share/gmailfs/gmailfs.py /mnt/gmail gmailfs noauto,user 0 0
Then, as a user who is part of the "fuse" group (may need to edit "/etc/group"):
After that, the user who did the mount should be able to read/write to the mounted gmail account.Code:mount /mnt/gmail
Have fun,
Jono


Reply With Quote