Subject: Re: mount_portal questions
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: tech-userlevel
Date: 07/27/1999 11:14:19
On Tue, 27 Jul 1999, Hubert Feyrer wrote:

> On Tue, 27 Jul 1999, Bill Sommerfeld wrote:
> > Shouldn't/couldn't this be handled by making the directories within
> > the portal filesystem mode 0700 and owned by the user who mounted the
> > portal?

No. There are no directories on a portal mount. :-)

When you do a lookup on a portal mount, you get back a vnode with the
remaining part of the path in its private storage. Nothing more happens
until you call VOP_OPEN, when the fs contacts its server to see about the
connection.

> I think this would be too restrictive.
> for a /usr/share/html that is a portal-mount with on-the-fly
> man2html-conversion, this may be useful for any user, not just one.

I've snipped the initial quote, but I think it'd be fine for other users
to access the portal mount. Just the portal daemon would run with either
the initial user's credentials, or the intersection of the caller's and
the mounter's credentials..

Take care,

Bill