🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #12132

Re: Leafnode Assistance needed

#12132
From: Christopher B. Browne
Date: Wed, 06 Nov 1996 00:00
38 lines
1974 bytes
(Note addition of news.software.nntp; this is comparatively relevant there
too.)
On 05 Nov 1996 21:53:37 -0500, Craig P. Earls <acinma@star.net> posted:
>
>This should be pretty trivial. I have edited the make file to point to
>the correct directories, and the program compiles cleanly, but the
>makefile attempts to cd to the /var/spool/news/message.id directory
>and create a bunch of numbered directories. All I get is a few hundred
>'can't make directory file exists' lines. And yes I am installing as
>root.  Any ideas how to fix this, I don't really understand what the
>directory structure is trying to look like else i would have created
>it by hand.

I had the same problem.

It wants to create the directories:
/var/spool/news/message.id/000
thru
/var/spool/news/message.id/999

You could do this using the following perl script:

#!/usr/bin/perl
foreach $i (0..999) {
   $value=sprintf("%03d", $i);
   `mkdir /var/spool/news/message.id/$value`;
   `chown news:news /var/spool/news/message.id/$value`;
}

Hope this helps.
-- 
Christopher B. Browne, cbbrowne@unicomp.net, chris_browne@sdt.com
"When you say 'I wrote a program that crashed Windows', people just stare at
you blankly and say 'Hey, I got those with the system, *for free*" 
  - Linus Torvalds

Technical Details
Message-ID: <8e4q55.ke7.ln@localhost>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <918gx7bi.fsf@Nebula>

Show Full Headers
Complete Article Headers
Message-ID: <8e4q55.ke7.ln@localhost>
Subject: Re: Leafnode Assistance needed
Date: Wed, 06 Nov 1996 00:00:00 +0000
From: cbbrowne@wolfe.brownes.org (Christopher B. Browne)
References: <918gx7bi.fsf@Nebula>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 194875354
Distribution: inet
Organization: Unicomp Technologies International Corporation
Reply-to: cbbrowne@unicomp.net
Newsgroups: comp.os.linux.networking,news.software.nntp