#476748 gphotofs does not play nicely with autofs

Package:
gphotofs
Source:
gphotofs
Description:
filesystem to mount digital cameras
Submitter:
Norman Ramsey
Date:
2010-09-18 21:36:13 UTC
Severity:
wishlist
#476748#5
Date:
2008-04-18 22:05:47 UTC
From:
To:
I'd love to be able to use gphotofs with autofs, but an automounted
filesystem winds up being accessible only to the root user.
I won't quite call this a bug; it's probably a use of gphotofs that
the authors did not anticipate.

In an autofs map I have a line

  ucamera -fstype=fuse,defaults,group,users,noatime :gphotofs

which very nearly does the trick, except despite what the permissions
claim, the resulting filesystem is accessible only to the root user
(I can't even cd into it as myself).

What I would really like to see is uid and gid options such as offered
by the vfat filesystem, so that when gphotofs is run it sets
permissions accordingly.

I've broken my head against FUSE before, so although it looks like
this should be easy, I haven't any idea how to do it.

(One more note: it won't work simply to have gphotofs run as myself,
because I don't have permissions to mount in /var/autofs/removable.)


Norman