From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.4 Received: from txout-a4-smtp.messagingengine.com (txout-a4-smtp.messagingengine.com [103.168.172.227]) by inbox.vuxu.org (Postfix) with ESMTP id C24432F403 for ; Tue, 21 Oct 2025 18:28:14 +0200 (CEST) Received: from localhost.localdomain (phl-topicbox-02.internal [10.202.2.220]) by mailtxout.phl.internal (Postfix) with ESMTP id 6FB6A1C0249 for ; Tue, 21 Oct 2025 12:28:14 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=tekk@sdf.org smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:to:subject:in-reply-to:references :message-id:mime-version:content-type:content-transfer-encoding :list-help:list-id:list-post:list-subscribe:reply-to:from :list-unsubscribe; s=sysmsg-1; t=1761064094; bh=/6JeL3oi3HHmWyxE sfZ6Rm9M6vrA4S5i/vGohet/7Mw=; b=VT5+qd/AVJycdYaRMF6Y4k1gcbDaCgkK m94xHB6l20G3sOyV3l8chmf1mIWGKVPTB7F4FKPRaaJdXAHAnQHeVeDJfEhJCQ0U 4S1oxszBptM2Q0o6u/xeKWYzZcfNTLyT/n7Y28jAHZpX52Z4CjPtvQnsV2QjRIWk miuGf1Lk2Qo= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1761064094; b=JvBp2v+KOAYVRMs8PQN7EJicmwnMJBCqLDihD0oK7gw3TMz1NW N0x7afTETAkg4r8B78S3fvj6mqkLoc/wVtojStU743/F8l6XYIVCEIB1EPPnmo+Z uDApcrCs0cnBhIHYoLybC70mifxEPaZMlQQIsZizhOttnAEWC9nRVPJ/M= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=tekk@sdf.org smtp.helo=mx.sdf.org; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: authmilter.topicbox.com; arc=none (no signatures found); bimi=skipped (Insufficient authentication, DKIM required); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=tekk@sdf.org smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.3 smtp.cipher=TLS_AES_256_GCM_SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:to :subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:from:list-unsubscribe; s= dkim-1; t=1761064094; x=1761150494; bh=/6JeL3oi3HHmWyxEsfZ6Rm9M6 vrA4S5i/vGohet/7Mw=; b=V1T/JNOLQkEOjItWNl0kw+ojdt8HF6hQ0KspMG+6Q GNLShNaZVfuRE+jP5ZYvieWZF6hdTdXFK0sPGEmuPLUMZ6oo2zHLlIN/FyrpuXua Bfuw4WdvZNJcwvvgt3HFYh5Sltrw5FUyM7Hg69IQeg68CWOKELoJ0vnpL7n0A/ZH do= Received: from authmilter.topicbox.com (unknown [172.17.0.1]) by mx.topicbox.com (Postfix) with ESMTP id CB16435C86FB for <9fans@9fans.net>; Tue, 21 Oct 2025 11:54:58 -0400 (EDT) Received: from mx.topicbox.com (172.17.0.1 [172.17.0.1]) by authmilter.topicbox.com (Authentication Milter) with ESMTP id 8F2822765FE; Tue, 21 Oct 2025 11:54:58 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1761062098; b=cSiCQp+r+GXxwFPGfvGSNhClEBQDswb+3nZ6f39V5IrDzzdK9Y twndN77iGVZ529mpBZPFFgiteTJalgSYVekbfGkm8xkGsjzQjOeI2eVqCNfSHYhX LMcPKY0CjApGL5+4ewqqWE44TR3vYNFFlbBjvji8HO7OjZcNqLiUTz3rmWqs6wgB EDkR0UrpYghd+jVOCh5cOff3lJ8l/AkGdnJKKwXx3j32LtOdjaimTyti2APO/rX9 olAsopHVc1r680oN2eYMtJbESUm5yfPOP3E2HOImv2E2wpSMxJmPbJY2ctz6NFaL PRSRm7nQAF4IDMwFHIOWkbEh23xl3Q37ExBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:in-reply-to:references :message-id:mime-version:content-type:content-transfer-encoding; s=arcseal; t=1761062098; bh=lh5CIP+NTdOC3oBPbw3CUMHTdKGjXiqowkH uMxUCGvA=; b=i9dDroox5i067ZLFz5bSD1hl8oiPYc6Bu6SbgYzWLlszfBFRFsv aqVlsGRxxELvZDe9pJM+51niX40k2EAcPayqmQMViPvVkuaiq5oX7rYYuKUmZcTH CpDZH3776YXLESr4xgT3g3FZ2FzGioEZo4XIaReTM8xNxoc91v1I2Ou/Jo8FZOqC ARucBfKsExHLcRxJlKtT7r5D+kVTEEQ6dR7CEh7s1bR5zMITbOhtGu+CYXm7soGs AbLJqLXHpegDHMd/IF+yLdh1LOQcTdu/VVM0plL9Pm/tcWgZm/V0KX9zF1+sEe1r rmyM082nnZh7O/Vlp446ywfXiFryL/fnHOg== ARC-Authentication-Results: i=1; authmilter.topicbox.com; arc=none (no signatures found); bimi=skipped (Insufficient authentication, DKIM required); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=tekk@sdf.org smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-tls=pass smtp.version=TLSv1.3 smtp.cipher=TLS_AES_256_GCM_SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddugeduudduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhf fvufgfjghfkfggtgfgsehtqhhmtddtreejnecuhfhrohhmpeffrghnnhihucghihhlkhhi nhhsuceothgvkhhksehsughfrdhorhhgqeenucggtffrrghtthgvrhhnpeeftedtfedvtd euteffjeffvedtieefjeefhfeileetueeuieekffdvudfhvddthfenucffohhmrghinhep thhophhitggsohigrdgtohhmnecukfhppedvtdehrdduieeirdelgedrvdegpddujedvrd ehiedrvddvfedrgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvght pedvtdehrdduieeirdelgedrvdegpdhhvghlohepmhigrdhsughfrdhorhhgpdhmrghilh hfrhhomhepoehtvghkkhesshgufhdrohhrgheqpdhnsggprhgtphhtthhopedupdhrtghp thhtohepoeelfhgrnhhsseelfhgrnhhsrdhnvghtqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'tekk@sdf.org' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=authmilter.topicbox.com; identity=mailfrom; envelope-from="tekk@sdf.org"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Tue, 21 Oct 2025 11:54:57 -0400 (EDT) Received: from [IPv6:::1] ([172.56.223.4]) (authenticated (0 bits)) by mx.sdf.org (8.18.1/8.14.3) with ESMTPSA id 59LFssYW002174 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128 bits) verified NO) for <9fans@9fans.net>; Tue, 21 Oct 2025 15:54:56 GMT Date: Tue, 21 Oct 2025 11:54:53 -0400 To: 9fans <9fans@9fans.net> Subject: Re: [9fans] rc-httpd cgi heredocs User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: <1B798008-74A7-4CD3-8BD3-5E159605860C@sdf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Policy-Reasoning: moderate: sender is a member; group holds all messages Topicbox-Message-UUID: 4c86abe0-ae96-11f0-93a5-56751b9420b8 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UOGZmZWQzYzNmZjE1MDA0Ny1NZjcyMTZkMzNmZDRjMjI3NTAzODg1?= =?UTF-8?B?YWI4Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> From: "Danny Wilkins via 9fans" <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mf7216d33fd4c227503885ab8:1:a2OCKAv3t2CZkMMF8s6vGhxlxJvO6oJF9RI4-3XxiIc Ended up getting a response on IRC: This was because CGI scripts are run as none, who has no write permissions.= It was fixed by adding a ramfs call to the script to make a none-writable = /tmp On October 20, 2025 8:36:11 PM EDT, Danny Wilkins via 9fans <9fans@9fans.ne= t> wrote: > (Sorry if the last message got through, misremembered m as new mail in ne= dmail and it forwarded the first message in my inbox) >=20 > I'm messing around with cgi scripts in rc-httpd to store my html template= s, however when I try to execute them, the script > errors out because it can't open /tmp/herex..... . I assume herefiles are= 'fake' and just throw a file in /tmp, but what do > I need to do to let cgi scripts use them? I'm invoking my script with the= cgi handler and I don't see any special handling > for tmp in there. >=20 > Thanks, > Danny > y ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T8ffed3c3ff150047-Mf7216= d33fd4c227503885ab8 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription