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 <[email protected]> 
wrote:
> (Sorry if the last message got through, misremembered m as new mail in 
> nedmail and it forwarded the first message in my inbox)
> 
> I'm messing around with cgi scripts in rc-httpd to store my html templates, 
> 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.
> 
> Thanks,
> Danny
> y

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T8ffed3c3ff150047-Mf7216d33fd4c227503885ab8
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to