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 17343 invoked from network); 18 Jan 2022 00:01:05 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 18 Jan 2022 00:01:05 -0000 Received: from mail-oi1-f181.google.com ([209.85.167.181]) by 4ess; Mon Jan 17 18:53:31 -0500 2022 Received: by mail-oi1-f181.google.com with SMTP id g205so25962739oif.5 for <9front@9front.org>; Mon, 17 Jan 2022 15:53:25 -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=i2tkrKYD2gNJgzFpwJesRhOe2ZMT2DtfbVpNmMQv96M=; b=WOFybSR6XAIqysisbsret29OIBkmvjUe8bhPJ24LIPTVhAJLxDK7LIobaZYgc9ZAFS 68S1vKbtQ4Nu3UnmEyw90tGYJMeRapQsbj1XIWSlnLZGLE3T2xZ2/Db7e7yLiCmEfxo4 Db0Vw7HFtX3mrcmDuMBKNnb3GaeMlK8U4wr0o1DYJj5yHnadilxWQzN3YBNF6up8bSkA NJzt3QCa9IwabbD+cseNqRlIJPGQy9RThnfl0/vInD0xfwoNLwXtGzmsewlRtDAdT0Ou jDgaURRMMldI9XTwMmbD/1P2qi1jZkvst8Gy+Hs5fb1Etij1Gx8cIrqqfHLCS1eBSxkg nWSg== 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=i2tkrKYD2gNJgzFpwJesRhOe2ZMT2DtfbVpNmMQv96M=; b=1TFON3ZKnFNMKsspLPzM55ZeUdrRa6EgvNfputePM3ziXqLNv3JaW5EmiKuBymQgxd aAR4+B+LI4uwRgxFGHHPAqJqLWgFiYOgO2vPhmqy8Q4J+zeVaqzE+IBGyg1XPdaH/lg0 RwBclC5OeT+vTP9AfJYWtFd24MLLY5qmnyZhcNx/7tjEO1dR18P/bhQC3QWKM2wWTc/U 5bM9U8wBreo81UiqYPack0QjstRakPxSuay/HrL1Hq5Qj29RqlAV842bNoE6/gh4+SCH PZ5Qx8KxQ0sxbyonFS3H6LnWSeSptRNCq/jQI87zbXZ7EySdOzLekDAvAuMRtvJAl4fY gF4g== X-Gm-Message-State: AOAM532zyL8aYvHl/nEOloJ4V2UWwnKU+s9tQTyycZYqnWe4Pa2bYu8p TXKHhZBY5Erb4JAi6h4htV8U9bgvMZ6Etw== X-Google-Smtp-Source: ABdhPJw0OddnJpr/+/kgg+H5F9urkn/5g5q+ti7hTWOnCi3fAh4f5Gc//5AI+vXtih0MIeb6V7JBSQ== X-Received: by 2002:a17:90a:db0b:: with SMTP id g11mr37106466pjv.46.1642463225458; Mon, 17 Jan 2022 15:47:05 -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 39sm366118pjz.44.2022.01.17.15.47.04 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Jan 2022 15:47:05 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <007A53332EF4CE66F77C916DC6584D7A@gmail.com> To: 9front@9front.org Date: Mon, 17 Jan 2022 15:47:00 -0800 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-kfnopvruqmwbfdzyqfznwlwoca" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: leveraged rails-based realtime-java API-oriented core-based generator Subject: Re: [9front] werc comments egine Reply-To: 9front@9front.org Precedence: bulk This is a multi-part message in MIME format. --upas-kfnopvruqmwbfdzyqfznwlwoca Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit So I deleted everything and started over. Its working now but I still ran into a few problems. So you need to log in in order to add a comment. When I log in I still get an error writing data. Auth: success umask: '/bin/umask' directory entry not found mkdir: can't create sites/cirno/_werc/comments: 'sites/cirno/_werc/comments' access permission denied ERROR XXX: Could not create comment: mkdir 57899: 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 Mon Jan 17 14:54:06 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/8abfe6173693d0f2edb5404b78cd9aa804db02d6/57917: '/tmp/fltr_cache' does not exist mv: can't stat /tmp/fltr_cache/8abfe6173693d0f2edb5404b78cd9aa804db02d6/57917: '/tmp/fltr_cache' does not exist Auth: success Mon Jan 17 14:54:07 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/ Not really sure why I get this error. The user www should have full access to everything. However I suspect an issue with one of the files /bin/umask does not exist in plan9. So I did a grep to search for it I found it in two areas. /usr/www/werc/apps/bridge/app.rc:88. I would comment it out I also belive app.rc:91 is incorrect I think app.rc:91 should be mkdir -p $dir && Auth: success sites/cirno/_werc/comments/1642460857/user: ./apps/bridge/app.rc:93: can't open: 'sites/cirno/_werc/comments' does not exist Mon Jan 17 15:07:37 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/ I still got another error. I guess you need to create the directory 'comments' 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. Wiki is also another issue and required the following mkdir -p sites/cirno/index.md_werc chmod 777 index.md_werc chmod 777 index.md I also had to remove umask from apps/dirdir/app.rc So two directories are 777 and one file. But now my other plan9 users can make changes not that I have any users but this is kind of bad. --upas-kfnopvruqmwbfdzyqfznwlwoca 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 q17csp322549dyi; Mon, 17 Jan 2022 00:40:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDZg37aF2r1Xvx3cJRh5PsbPuSq8ASUE9Zk/tlMITBn7+ZSJxm2cN5dYOxXJCtmXQaO+jh X-Received: by 2002:a25:6608:: with SMTP id a8mr10266422ybc.630.1642408805966; Mon, 17 Jan 2022 00:40:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642408805; cv=none; d=google.com; s=arc-20160816; b=o0VsCCAEtwcBZW2EpabkSnkNsU6w9nj9VRtBc0Y87uq0wcV9+un7Su+C2gS+LivvjG KVorWwzCWyP4Y8g+NpvDpiL5GVM8cvDWTwpunB3fufITa1ogxnIeB87ESRfvBawP42ZR 3lGVK5kxd3B/TFfclBERX1u8Gdi8G6689v18IXD7jZ5HuHHCbPfTYAthSYFeOOomtixt A5IZhyA044OAC2/80klO189q09TjI1QPpammOxI5VHGd4ujVPlHRKdNXcVR8W/MGx+s2 31mGLcdchwcmT6MRl81UViWBxPItJ22+cOkSlrbZuIKpwu6Mp3VfpzbDq5lwgls1X0/Y msag== 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:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:to:from:date:dkim-signature; bh=q4mR03HSmx8ldH9T8ZXYFDJs2RrkSq8i7s/JkoRjCfY=; b=dZGEoHqp74N0Lb8X592QnIwbVt6hkP2FUk+pAs4Q8Z2UNnK8u14FC+UEY5O9CY1/SO HMIV1rLIr63BxB29Dh/krig+giUC4dy+TGk6lAuHwSboaMS2qmisN0LcFKLnfYEVYmZG UDg/eglKosnkywvsNl0MEDhMwhcFj4b0xj+y6Xde8LULXZBwGsbJ/hGqJtJkC77Ceyod B6GY3odtHZgolN418M1bzoLXUeXX+nYwg2mNVgEyGAMpeLIfAKpapvh47MFhGarrmXl4 PK8S0s/kOVbUTsARSnQhky2kCEvNUZIPjueqHdtVUDF6KX7SjUpZVS5KF6bYyC+ugurP EnLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sciops.net header.s=20210706 header.b=s+CdpiA0; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sciops.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 j18si10413861ybh.576.2022.01.17.00.40.01; Mon, 17 Jan 2022 00:40:05 -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; dkim=fail header.i=@sciops.net header.s=20210706 header.b=s+CdpiA0; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sciops.net Received: from wopr.sciops.net ([216.126.196.60]) by 4ess; Mon Jan 17 02:43:57 -0500 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1642405430; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=q4mR03HSmx8ldH9T8ZXYFDJs2RrkSq8i7s/JkoRjCfY=; b=s+CdpiA0Z68JIEhHPD2ANrnxJ0f9ch4S3w0bv3SpJUmwp5F9s40P90e0rZShlF8QKKEsbc qIhmBJs/v6yLLZ/KW5fcTO0w4wBkE4ruicHVwcMFy13AtlCuk34VVW/WeMoIHtH0fUP7LO 6MW/ysbjcmFOMsK1FyCxkvQT9ZSnRkw= Received: from localhost (wopr.sciops.net [local]) by wopr.sciops.net (OpenSMTPD) with ESMTPA id bdbf7b9c for <9front@9front.org>; Sun, 16 Jan 2022 23:43:50 -0800 (PST) Date: Sun, 16 Jan 2022 23:43:50 -0800 From: Kurt H Maier To: 9front@9front.org Message-ID: Mail-Followup-To: 9front@9front.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: agile lifecycle just-in-time controller 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 --upas-kfnopvruqmwbfdzyqfznwlwoca--