From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <616f3e6a0d052130b48b130fa0167147@9netics.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] authenticating local server Date: Tue, 19 Feb 2008 23:25:34 -0500 From: Skip Tavakkolian <9nut@9netics.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 5bc9b828-ead3-11e9-9d60-3106f5b1d025 since nobody well qualified has answered this, i'll go out on a limb and answer at the risk of unleashing somebody's wrath :) the question is confusing to me and i'm guessing at what you are trying to do. you could authenticate the user, launch a httpd for that user and redirect the user to it. I believe this is how pegasus works. then your fs on /srv could require authentication. > Hi, > > I have a file server which posts a file descriptor in /srv > the idea is that this will be run from cpurc so httpd can > mount it. > > In my naive implementation the server runs as bootes so it > has different access to files to the httpd which normally runs > as none. > > I can just call becomenone() in the start of the server but is > there a better (but not too complex) way to do this using the > username presented to attach so my server gets the apropriate > permissions no matter who mounts it. > > -Steve