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 11158 invoked from network); 17 Jan 2022 09:17:12 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 17 Jan 2022 09:17:12 -0000 Received: from mail-pl1-f170.google.com ([209.85.214.170]) by 4ess; Mon Jan 17 04:07:27 -0500 2022 Received: by mail-pl1-f170.google.com with SMTP id t18so20556823plg.9 for <9front@9front.org>; Mon, 17 Jan 2022 01:07:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:message-id:to:subject:mime-version :content-transfer-encoding; bh=6g+S0xHzgH4aur5Og572LQ+/L/B9WnrisUfRXLm8HdA=; b=I0aif1cO1ohp5OFNrT4FOp1c9WjRU1Pp/ndKunHB3tLQE8phDOYP/9DzWS9OzPvHKE D4/VerllY2w1yn6a7WYHh31/U35115Qj139FhgxIFr1A9RytC4tRVEWMBAN/LfbA5p3g TLwQqrZILTzqaJ63Hv2V9zlgNJZb7vraFyCjWnez8/+08KHsfVppMHOSV1DGfwE2WEdm dyrTJxxQ1GZAK7ttrHdpt3MI0v3HTgmn5LUKHdLXM1moNiEgpNBFovpKWngEl/qHiZZ7 ClbLoOQSkE1KcWsS6wGpfdOkAXbacrzvVhhIV4LI2oSrDpa7mVw3UsKN0/HMkrDWh4er /KOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:message-id:to:subject:mime-version :content-transfer-encoding; bh=6g+S0xHzgH4aur5Og572LQ+/L/B9WnrisUfRXLm8HdA=; b=HeaS43HfbuW9YtF2IHG86OLKwtZ/HoSQh2MpSPYiqJRccUwEw/XSj2an10Yw82swHX 0oKvgf7hmKccDd/cNcX4TPHaIPtBMApEvuTPXvjpkfOvROJft+4JM/0g21t5IL7yGYPk UXfSNreHhE4soXkLpaDu3FsLD7/ctbEXY6dfnIcvPHtxzYbTA+PJqVRxT8FAXJPmpaWK kJcDDgS6258PeG5N2HaqqSb47P8SlhktDKOg9QefflZnt9T2D7NictoWVMtKiFL2UGft 26xzP7vLqX35y1bKbdCW1FGTsTZyisbcZs3a/TLSCvwoJ8NHNezcbHp8gcPlWHuf4EdB RpFQ== X-Gm-Message-State: AOAM5317C3+tcR7E/yLAgluGS3BasxvXP+bl2oZqgER2ML/NOHYuFeT5 IQi88yvYJTdgRALOHQDE7SXybN4EfyqEVA== X-Google-Smtp-Source: ABdhPJxoNgcgUjzs5Mnlc+k6Z2UPrbv+nZUeFDvVHw6SNDgc1dfWIDm1k87T9zm8PFSP9FbKVYdxDQ== X-Received: by 2002:a17:902:8ec9:b0:149:8864:cfd4 with SMTP id x9-20020a1709028ec900b001498864cfd4mr21354069plo.16.1642410438210; Mon, 17 Jan 2022 01:07: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 d7sm7198237pfh.126.2022.01.17.01.07.17 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Jan 2022 01:07:17 -0800 (PST) Date: Mon, 17 Jan 2022 01:07:17 -0800 (PST) X-Google-Original-Date: Mon Jan 17 00:40:05 -0800 2022 From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <86D3B9BCC6BDB198AF0DA88F220F73DB@gmail.com> To: khm@sciops.net, 9front@9front.org 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: object-oriented advanced scripting interface-oriented engine Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk On Sun, Jan 16, 2022 at 06:56:41PM -0800, thinktankworkspaces@gmail.com wrote: > So I added > > conf_enable_comments > conf_enable_wiki > > Also created a user will and added them to members admin. I > can log in fine but I can't really post anything. > > Could not post comment due to internal error, sorry. > > I see in the logs its some permission error. Any hints where? what?. I tried to manual creat the folder as that user > > > umask: '/usr/bin' does not exist > mkdir: can't create sites/cirno/_werc/comments/1642387681: 'sites/cirno/_werc/comments/1642387681' create -- in a non-directory > ERROR XXX: Could not create comment: mkdir 71270: error > cirno/ - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15 - POST - md_handler sites/cirno/index.md - lib/default_master.tpl > Sun Jan 16 18:48:01 PST 2022 :: cirno :: POST / HTTP/1.1 :: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15 :: 200 :: http://cirno/ > tee: cannot open /tmp/fltr_cache/923e12ff215b0e44105268bcdd2950bffec9fc41/71285: '/tmp/fltr_cache' does not exist > mv: can't stat /tmp/fltr_cache/923e12ff215b0e44105268bcdd2950bffec9fc41/71285: '/tmp/fltr_cache' does not exist > Auth: success > Sun Jan 16 18:48:01 PST 2022 :: cirno :: GET /pub/style/style.css HTTP/1.1 :: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15 :: 200 :: http://cirno/ > The comments directory needs to be writeable as whatever system user your web server runs under. I don't know what that umask error is but I'd work it out before letting the public access this installation. khm Yes this seems kind of silly. I have created a user called www and as that user ran webfs. I did an hg pull to get werc installed as user www. I have changed select /rc/bin/rc-httpd/select-handler. I can log in fine. However as that user It seems I need to run bind -a /bin /usr/bin to get access to other utilities. my line 21 is as follows for /usr/www/wer/etc/initrc path=(. ./bin ./bin/contrib /bin /usr/bin) Not sure why umask is needed when it doesn't exist in 9front. I'm not sure how to make everything writable as that user. There is no recursive chmod -R. Instead I manually went to every directory and every file and typed chmod 777 on everything. Which is dumb but I'm kind of at a loss. And no this is definitely not public website yet.