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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23367 invoked from network); 18 Jan 2022 10:13:21 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 18 Jan 2022 10:13:21 -0000 Received: from mail-pg1-f175.google.com ([209.85.215.175]) by 4ess; Tue Jan 18 03:13:25 -0500 2022 Received: by mail-pg1-f175.google.com with SMTP id h23so13232975pgk.11 for <9front@9front.org>; Tue, 18 Jan 2022 00:13:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:to:subject:date:in-reply-to:mime-version; bh=ni31Oudbp62lJ7QGO0Gb8a3KMbS2OqXhzqbfJ6gkVf4=; b=B6RFwwgZ5P+cc8okR0uVqBl2UYi8Ad/69FoYgqFaQ0CjA+w4AqR/jVaFukTjHQN6Rm V6rWE/6GAW7GH0bCDMl1olwm2LUv6qTuMmOti+U45skwh0ig5YsGEZ/XYQDD+GZxGMwk 70m/heYt7i5HVOGKYkdwi6SB7ZEpyhU5o2X4HHZSdwunxN5fep/2MXInWXMvH7tlwuWC NwEEJHsd9u6z/yvMVBNrFPwTc7vA8xTNzoupri7ev3oC0nfxOGYKsHvYtsF0BcvRPN7P oINH1LBGCwKPE+Ln+9wvsEaHIa2mqae5qC5DH3LnfxeW8n2K5tDtaMZcfnp5tXnsSUqN oNsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:to:subject:date:in-reply-to :mime-version; bh=ni31Oudbp62lJ7QGO0Gb8a3KMbS2OqXhzqbfJ6gkVf4=; b=zx6aiYaoCS0VU1p5dZX+Ft8RTvD6AHmUaVW0DXyX8oICbCdRsPLKfmf7bjvEqeNyiZ pFj77855zcifRJPEKIwA1NTMGuWuH1EeyGQ+gPMqeM5jJC3gtZVn3f/3ntjLtQwTIzx5 one9JT4kmRRg3kowa1RaaVYFMyNRnWKEvoJT5Mxi/JWQoa4VfxLBbf7IorqWlmSAc9d5 x5PaOwaL0CYIJs6opaeHaUgL/ruDm0KI/a4fDhH1RmWADBceRr1NcemkMu83MM8LDFMO 0zGPQqTUj/eO7KD2CxuSjqNXBGoILpOMKZcbxHOVYG5++xM5BH/XVvFnHU5bbogTfT+r bZyg== X-Gm-Message-State: AOAM530wuSyiNus93jjlq0szUxTFJiBE5jo1M2v8qYs/Ry6QUvvheYGj zRBp8BvaMgGOtAmD98nBCnPbwhZFZBZbfA== X-Google-Smtp-Source: ABdhPJwTc9S8y9U1aufWUhiMNmdr/e+kxnMbpNMFjEyN4GwgbGrllJzplsuWOpfB+L9OOVk6X7s3+Q== X-Received: by 2002:a63:78cd:: with SMTP id t196mr22587937pgc.503.1642493598044; Tue, 18 Jan 2022 00:13:18 -0800 (PST) Return-Path: Received: from cirno.thinktank (107-200-43-169.lightspeed.sntcca.sbcglobal.net. [107.200.43.169]) by smtp.gmail.com with ESMTPSA id p37sm18016509pfh.97.2022.01.18.00.13.17 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Jan 2022 00:13:17 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <3C3D73326CC4E09F91C54BD62079BC72@gmail.com> To: 9front@9front.org Date: Tue, 18 Jan 2022 00:13:12 -0800 In-Reply-To: <51605C26-36E6-4AB4-AF20-6761E2C389F3@stanleylieber.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-dzmpvccglcmcltlxzxahaowjrb" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: WEB2.0 over XML pipelining template-scale control Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk This is a multi-part message in MIME format. --upas-dzmpvccglcmcltlxzxahaowjrb Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Wow! sl...I just learned a ton in this response from you. Its working default now. I removed my 777 directories and files to make sure it creates comments folder and comments automatic. Wiki is working also. Thanks a bunch. It seems i'm not really making the best use of this OS or I'm making too many false assumptions. And the werc is really impresive even if I barely know how to use it. Regards --upas-dzmpvccglcmcltlxzxahaowjrb Content-Type: message/rfc822 Content-Disposition: inline Delivered-To: thinktankworkspaces@gmail.com Received: by 2002:a05:7300:2491:b0:4c:de0e:96ca with SMTP id q17csp450452dyi; Mon, 17 Jan 2022 23:35:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3UbUMKNAErgYDpDZWnnGHP/DDdpUQ+aL6kYkPBkcN3Nz6ppiMEFyJ1mg8/A/7TeO4XXEu X-Received: by 2002:a25:f81c:: with SMTP id u28mr3354582ybd.728.1642491326258; Mon, 17 Jan 2022 23:35:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642491326; cv=none; d=google.com; s=arc-20160816; b=r19reyqV7IGXABMqP5+bg0xIh43daq25CDXxnmZZ3ek7NekLIkT6q/vYe1zeVD39a9 EjMDukQ3LLjFiC/gXIT3BffW4N45xvUd8qph5dBPhsO2GpX7+dIosBIkQIe/krQmbnjK 0O35fDbin+NakqfcgHmhgSGFyo4NFeXdJME2+IjY8D4Bd44TfzyFF8e9WZE3obMbrwkH /0BaomILY6EeaELhW0B3Zrqb1dIkbHC6J9D78vEtQbbCV6csiletfl3ccraq+UxqhoHu VkIZxlTW/EpMRIAEGsIM7rR2SrMtbD47qGGfIrs9d/1/PbvcC3qAYzKwE456iVDTU4XD XFaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=precedence:reply-to:subject:list-help:list-id :content-transfer-encoding:mime-version:message-id:references :in-reply-to:to:from:date; bh=EdIG5OKAUUCcl+4glvt8I6gKTYvktV05dO9nRI1Bk1M=; b=i7zArwSFFhoWPXrjY3C2/4W/KGNjioCSQsmZr58EjzejAuPLohRPCSHDkY8a0UoUtQ Ag+2SgOiLeKH8jPDv8Itg6s+kZa0clnPvQRQUqkqdMPcnt5d1Ttwg8UITMG1yvbLBpIu wDGKZZRkOkcf2aEr+4iqlCQXjc0AZsTBFVUpbJk/OOEn/WbdwWVOZkP/hvACmmFPatN4 /NDocrX4O137ddJh0Xvc3cWK/Yrb2fvnpPC89K7bW0i+Ee9AW4n4nrCqIn96DDHHLYnu uByi3/lIKWykwg/JzaxumGwHsOUTmxBIAJ7Ct6Uz8XbfoqNbfXQd4tvb95ngShX0V0ri xbCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of 9front-bounces@4ess.inri.net designates 216.126.196.42 as permitted sender) smtp.mailfrom=9front-bounces@4ess.inri.net Return-Path: <9front-bounces@4ess.inri.net> Received: from 4ess.inri.net (4ess.inri.net. [216.126.196.42]) by mx.google.com with ESMTP id u7si12344932ybc.620.2022.01.17.23.35.21; Mon, 17 Jan 2022 23:35:25 -0800 (PST) Received-SPF: pass (google.com: domain of 9front-bounces@4ess.inri.net designates 216.126.196.42 as permitted sender) client-ip=216.126.196.42; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9front-bounces@4ess.inri.net designates 216.126.196.42 as permitted sender) smtp.mailfrom=9front-bounces@4ess.inri.net Received: from 5ess.inri.net ([107.191.111.177]) by 4ess; Tue Jan 18 00:25:02 -0500 2022 Received: from [127.0.0.1] ([104.59.85.219]) by 5ess; Tue Jan 18 00:06:43 -0500 2022 Date: Tue, 18 Jan 2022 05:06:41 +0000 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <365B92442B08A87728AA2C4D28F26158@gmail.com> References: <365B92442B08A87728AA2C4D28F26158@gmail.com> Message-ID: <51605C26-36E6-4AB4-AF20-6761E2C389F3@stanleylieber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: base descriptor hardware Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk On January 18, 2022 3:20:34 AM UTC, thinktankworkspaces@gmail=2Ecom wrote: >Okay thinking about this=2E I guess /rc/bin/cpurc has a line > > # cpu+auth server > auth/keyfs -wp -m /mnt/keys /adm/keys > aux/listen -q -t /rc/bin/service=2Eauth -d $serviced tcp > >Which I guess points to tcp services or /rc/bin/services > >cpu% cat tcp80 >#!/bin/rc >exec /rc/bin/rc-httpd/rc-httpd >>[2]/sys/log/www >cpu%=20 > >So how do I get the user to run this=2E Do I just pull it out of cpurc an= d add it to /usr/www/lib/profile or >clearly i'm confused? > >I guess I always drawterm and log in as glenda the run rcpu -u www=2E So = I should do that >and manually run=20 > >aux/listen -q -t /rc/bin/service=2Eauth -d $serviced tcp when you boot the system, $user is the hostowner, which refers to the owne= r of the kernel process=2E the hostowner ends up owning the disk file serve= r process, as well, but the disk file server programs don't provide any aut= omatic mechanism for violating disk file permissions without writing code o= r abusing the system's running processes with a special tool such as acid(1= )=2E disk file permissions are completely separate from kernel process permissi= ons, and are controlled by the disk file server process (cwfs or hjfs)=2E b= y convention, plan 9 arranges for the kernel, auth, and disk file server to= honor matching usernames, even though technically they're separate entitie= s=2E it looks like your system is running rc-httpd via a tcp80 script launched = by the default listen(8) process, which ends up being owned by the special = user none, rather than your chosen user www=2E here's what i do for 9front=2Eorg: first, move the /rc/bin/services/tcp80 script into /cfg/$sysname/service= =2Ewww/ then add the following to /cfg/$sysname/cpustart: auth/as www aux/listen -p 128 -t /cfg/$sysname/service=2Ewww when you reboot, this will start a listener running as user www on the dir= ectory /cfg/$sysname/service=2Ewww/, and any listener script you put in the= re will in turn be run as user www=2E sl --upas-dzmpvccglcmcltlxzxahaowjrb--