Thread View: news.software.nntp
1 messages
1 total messages
Started by Christopher B. Browne
Wed, 06 Nov 1996 00:00
Re: Leafnode Assistance needed
Author: Christopher B. Browne
Date: Wed, 06 Nov 1996 00:00
Date: Wed, 06 Nov 1996 00:00
38 lines
1974 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads