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,NUMERIC_HTTP_ADDR autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9619 invoked from network); 18 Jan 2022 08:19:02 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 18 Jan 2022 08:19:02 -0000 Received: from mail-pl1-f174.google.com ([209.85.214.174]) by 4ess; Tue Jan 18 02:27:58 -0500 2022 Received: by mail-pl1-f174.google.com with SMTP id u11so18415874plh.13 for <9front@9front.org>; Mon, 17 Jan 2022 23:27:52 -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=fAuOnysXv8oJuen0+ThvD6aU7yO4mhKZM2Ynls6Zc/o=; b=Mg3NPa/AvIhzxePz/7PtyEUgJ/db8bSaVBNvcMdxkDqe8no/gHMY4Y/jz+VeWfm292 g0qgNTjCocgQ2WuTwrQzkAYyH3JwKosDfxNi5GNvMmlcu8xER4BY6eTh4/gZ9ROQei6J OYuG7oFprqKk9AHBuP421SiEyLUwa07EpwGUxNKq9ts/X6Pzqtvy+UH0Egacrpk87WP6 jadXa+2fySXmg6JPe/G/ua86fmLDPmI6PtA27RRN5EM7hSFTWE6nuZJjAyNA0QIyM02v MyWufw9BnCnAJWPb+34rauTfsIOWHhEwdaWBT7nBCKaENOxtq88FM7k2DV5S+5jTRK1K hj1w== 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=fAuOnysXv8oJuen0+ThvD6aU7yO4mhKZM2Ynls6Zc/o=; b=fPL0vRzI1Addyq/Sy1qjvEdbrUeN5mVLMgSBuHs/180+v6a7MT7RL1BoZNdlSB1Eao I8qVadgbU++Q48cRf0ozWqMOHpbDMm1mbSn/8FwOD5oGTJ5FcsWwhuXh8Ab7eCNRKSED UY+IDIOR7VWLRTPragixz7gjW7OBjymdITQ3C2X0qvjBqWtOdbkq5NiHWXcDirPr/mwr KgOQ7d0zuzO6bG/LmD/GR9uQMMpxoSd7NFjFpfsZM6X7Zlb+MJLmSAR5ZSh0FgHysfED QV8of+TvY29qf+zLq6gHmq/e9Hz9WYb/iNN+7ynxjKDuQYhBitwfPksZXd1Pko134FjB aP+g== X-Gm-Message-State: AOAM530KIPHYLHymYVT74QpXWmk7i4Jhav80f7hZZSzA+eUAk1W8ab6X 3P58ih8PQHsVIjiH1KgkzkEu+rgMQR/u5A== X-Google-Smtp-Source: ABdhPJxAgNlyziOOeAfKfzqjRyrdZqhfVdKVuBJaolvcd5kub3jXBjwgg5S5UWwn+JB4qKpZGyduLA== X-Received: by 2002:a17:902:6948:b0:149:f187:e601 with SMTP id k8-20020a170902694800b00149f187e601mr25694461plt.81.1642490871229; Mon, 17 Jan 2022 23:27:51 -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 o132sm10738667pfg.4.2022.01.17.23.27.50 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Jan 2022 23:27:50 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <4F938EC68E3C04B98C232E84B59C2600@gmail.com> To: 9front@9front.org Date: Mon, 17 Jan 2022 23:27:46 -0800 In-Reply-To: <4C3A2C43-2475-4B7C-9BF1-B8C01D38680E@stanleylieber.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-odanyqgmpxjagxrlrwuabhnidx" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: webscale software ActivityPub full-stack element backend Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk This is a multi-part message in MIME format. --upas-odanyqgmpxjagxrlrwuabhnidx Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I started over again this time I made sure of a few things. mv /rc/bin/service/tcp80 /rc/bin/service/!tcp80 cp /rc/bin/service/!tcp80 /usr/www/bin/service/tcp80 rcpu -u www log in with password. mothra http://172.27.0.67 nothing aux/listen -d /usr/www/bin/service tcp mothra http://172.27.0.67 site comes up fine So now I'm explicit in making sure only www runs that service I still ran into the same issues. mkdir -p comments chmod +wx comments mkdir -p sites/cirno/index.md_werc chmod +wx index.md_werc chmod +wx index.md After that everything works! --upas-odanyqgmpxjagxrlrwuabhnidx 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 q17csp417041dyi; Mon, 17 Jan 2022 16:32:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEdDl1vcH2GclCTWf10tchfhHDhhxgiW5Jkj/8p7Tq5QM6/31j4Vzly9zUrpPLS/PDdUVd X-Received: by 2002:a5b:30e:: with SMTP id j14mr32503090ybp.60.1642465950029; Mon, 17 Jan 2022 16:32:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642465950; cv=none; d=google.com; s=arc-20160816; b=DkWvRF0VgH0raPJYeyx3zq2A2crac5wpa2wXoxTpi8j9Bi5senx69QubNRIkP9cy/w eRnXaCXXdJ8ZaoK9/N8C5f7w/i3CSvCxry3QyA3Xyitx5vzgUhLiwzF+dvrXjhuA3J2+ 2sgTVdmLJvJrzojXNpxo3oGuxb9EQdJCwG7hSuDl36UTbwlmacUouexLLL/tBm5ifUjG odmegSFR+s3biUJd07xDAvvB2lgfsukf4yExLnuRYVsts8tcatUoB2s8Z8+T7ky/Y8WR Pxnb1zDEBpQM2hhZ2SFgj7vxSSnKvzqW3KNK6+Lv4CK/hFsdtt78wfvD8SweEWTCZkGG krFQ== 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=I+cFlNHOjPNmOqPAqnV2GmeUnWIlg43Z2dbJtpuVcdQ=; b=ncDUdyXxXqhgIcD/1Le/EGhqSInMUMAkco3E5MDomxLkhhxqwSDtCgnX+nTXiMcPDP BvjKFHpqiAhqbyl0fA8NBqdBnYeK+ulQ0KpsgXj7v9EHgEbPvSuzetaeHEX4BxyI8Zrn dfTOMIT7fT3dG8ucYIk3qbjkA35mtR96weaoBK9Jv9ayu2XdbUpmTI5VoeoGUeq0qomM 0yFlt+iXv2SsIoA8ls+PSoE6Duy8azNzO1sDYr/R5FPIk3WwMODp8DHEpF6YML+fBukl joKStBnMbqtYaR2zuTfIIwx1ugpPSRe8Q3SPfIkH8r9Q8+DZX3hzOPOKMjcyTrOO5znH 0LXg== 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 t11si2445623ybu.814.2022.01.17.16.32.27; Mon, 17 Jan 2022 16:32:30 -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; Mon Jan 17 19:23:14 -0500 2022 Received: from [127.0.0.1] ([104.59.85.219]) by 5ess; Mon Jan 17 19:23:13 -0500 2022 Date: Tue, 18 Jan 2022 00:23:11 +0000 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> References: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> Message-ID: <4C3A2C43-2475-4B7C-9BF1-B8C01D38680E@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: stateless proven grid NoSQL module persistence-based control Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk On January 17, 2022 11:47:00 PM UTC, thinktankworkspaces@gmail=2Ecom wrote: >So I deleted everything and started over=2E Its working now but I still r= an into a few problems=2E=20 > >So you need to log in in order to add a comment=2E When I log in I still = get an error writing data=2E=20 > >Auth: success >umask: '/bin/umask' directory entry not found >mkdir: can't create sites/cirno/_werc/comments: 'sites/cirno/_werc/commen= ts' access permission denied >ERROR XXX: Could not create comment: mkdir 57899: error >cirno/ - Mozilla/5=2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/60= 5=2E1=2E15 (KHTML, like Gecko) Version/15=2E2 Safari/605=2E1=2E15 - POST - = md_handler sites/cirno/index=2Emd - lib/default_master=2Etpl >Mon Jan 17 14:54:06 PST 2022 :: cirno :: POST / HTTP/1=2E1 :: Mozilla/5= =2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605=2E1=2E15 (KHTML, l= ike Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: http://cirno/ >tee: cannot open /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6= /57917: '/tmp/fltr_cache' does not exist >mv: can't stat /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6/5= 7917: '/tmp/fltr_cache' does not exist >Auth: success >Mon Jan 17 14:54:07 PST 2022 :: cirno :: GET /pub/style/style=2Ecss HTTP/= 1=2E1 :: Mozilla/5=2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605= =2E1=2E15 (KHTML, like Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: = http://cirno/ > >Not really sure why I get this error=2E The user www should have full acc= ess to everything=2E However I suspect >an issue with one of the files /bin/umask does not exist in plan9=2E So I= did a grep to search for it >I found it in two areas=2E=20 > >/usr/www/werc/apps/bridge/app=2Erc:88=2E I would comment it out >I also belive app=2Erc:91 is incorrect >I think app=2Erc:91 should be >mkdir -p $dir && > >Auth: success >sites/cirno/_werc/comments/1642460857/user: =2E/apps/bridge/app=2Erc:93: = can't open: 'sites/cirno/_werc/comments' does not exist >Mon Jan 17 15:07:37 PST 2022 :: cirno :: POST / HTTP/1=2E1 :: Mozilla/5= =2E0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605=2E1=2E15 (KHTML, l= ike Gecko) Version/15=2E2 Safari/605=2E1=2E15 :: 200 :: http://cirno/ > >I still got another error=2E I guess you need to create the directory 'co= mments' in sites/cirno/_werc/ > >so I had to manually run >mkdir -p comments while in sites/cirno/_werc/ directory and then run >chmod 777 comments > >Not exactly happy about that but it works=2E=20 > >Wiki is also another issue and required the following > >mkdir -p sites/cirno/index=2Emd_werc >chmod 777 index=2Emd_werc >chmod 777 index=2Emd > >I also had to remove umask from apps/dirdir/app=2Erc > >So two directories are 777 and one file=2E But now my other plan9 users c= an make changes not that I have >any users but this is kind of bad=2E=20 sorry i haven't had time to look into this more closely yet, but i run all= the werc apps on 9front under rc-httpd, and they all work without modifica= tion=2E most of the errors generated by missing unix commands can be safely= ignored *if things are working*=2E werc was written on linux, and mostly a= ssumes you are running some flavor of plan9port tools on a unix=2E i will h= ave to look into apps/ further to see if some of these errors can be trimme= d=2E your errors about the missing directories indicate whatever user is execut= ing werc (whomever rc-httpd is running as) does not have permission to crea= te those missing directories, so is failing=2E how are you launching rc-htt= pd, exactly? the path werc/sites/cirno also seems questionable=2E the directories under= sites/ are meant to correspond to domain names=2E sl --upas-odanyqgmpxjagxrlrwuabhnidx--