[654] in athena10
Re: attach -e
daemon@ATHENA.MIT.EDU (Evan Broder)
Tue Dec 2 16:20:10 2008
Message-ID: <4935A65B.7040608@mit.edu>
Date: Tue, 02 Dec 2008 16:19:23 -0500
From: Evan Broder <broder@MIT.EDU>
MIME-Version: 1.0
To: Jonathan Reed <jdreed@mit.edu>
CC: Greg Price <price@mit.edu>, athena10@mit.edu
In-Reply-To: <A85A8362-D29D-410A-BBF3-F38D590E16FE@mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Jonathan Reed wrote:
>>
>> the
>> present automounter's FUSE filesystem doesn't support ln -s. I guess
>> we could fix that.
>
> Yes, that's the initial problem I was referring to. If the
> automounter supported manually clobbering symlinks, there would be no
> issue.
>
> I'm not sure why I'm failing to find the thread from the last time we
> talked about this, but perhaps someone who has better mail searching
> capabilities can.
>
> -Jon
I'm not sure I ever mentioned this in e-mail. Here's what I'd really,
really like to do:
(a) Change liblocker so that the attachtab has a concept of per-user
mounts (i.e. in addition to tracking which users have a locker mounted,
it can also say "broder has /afs/.sipb/project/whatever mounted at
/mit/whatever, but price has /usr/local/whatever mounted at /mit/whatever")
(b) Write PyLocker
(c) Change pyHesiodFS to use PyLocker instead of keeping its own cache
and additionally, alter it to present a different view onto /mit for
each user. (i.e. I would actually *see* /mit/whatever symlinked to
/afs/.sipb/project/whatever, while if Greg looked at /mit/whatever, he'd
see a symlink to /usr/local/whatever)
- This is actually not that hard once parts (a) and (b) are done.
PyFUSE has fuse.FuseGetContext(), which returns the UID, GID, and PID of
the process making the given request.
This would allow us to bring back attach -e, and even allow it to be run
by non-root users.
I have no idea when I'm going to be able to write this. I also haven't
looked at liblocker at all yet to see exactly how painful (a) would be.
- Evan