From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6915 invoked from network); 1 Oct 2021 09:27:46 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 1 Oct 2021 09:27:46 -0000 Received: from rpi1.z0.is ([31.37.164.83]) by 4ess; Fri Oct 1 05:16:09 -0400 2021 Message-ID: <7904A7E8D6A53EB8B263ED7BA5769A2E@z0.is> From: Josuah Demangeon Date: Fri, 01 Oct 2021 09:11:42 +0000 To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: table interface realtime framework Subject: [9front] [PATCH] inherit the auth_chid to exportfs Reply-To: 9front@9front.org Precedence: bulk going through aux/trampoline did not permit to inherit the user after authentication was made. Executing exportfs directly and adding the -a flag to tlssrv gives exportfs the same user as the one that did authenticate. --- diff c9b48aec544db0ce8a2a1a75b557c44669804e82 8c0fe582cd1ae510f40412ceaff51bd939faa419 --- a/rc/bin/service/tcp17020 Thu Sep 30 16:20:03 2021 +++ b/rc/bin/service/tcp17020 Fri Oct 1 11:11:42 2021 @@ -1,2 +1,2 @@ #!/bin/rc -exec tlssrv -A /bin/aux/trampoline 'net!$fs!9fs' +exec tlssrv -Aa exportfs -r /root