🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by David Hastings Mon, 04 Jan 1999 00:00
read-only cycbuffs?
#34349
Author: David Hastings
Date: Mon, 04 Jan 1999 00:00
17 lines
1279 bytes
Hi all,

Is there any way of making a cycbuff read-only, ie to prevent innd
adding new items to it, but still allowing clients read access to
existing items?

TIA,

Dave
-- 
David Hastings                       |  "The Golden Rule was, is and 
Systems Programmer/News Manager      |  ever shall be: 
Oxford University Computing Services |  Don't Lift Lids Off 
email: david.hastings@oucs.ox.ac.uk  |                Cans Of Worms"
URL http://users.ox.ac.uk/~daveh/    |

Re: read-only cycbuffs?
#34329
Author: Kjetil Torgrim Homme
Date: Mon, 04 Jan 1999 00:00
14 lines
1133 bytes
[David Hastings]

>   Is there any way of making a cycbuff read-only, ie to prevent innd
>   adding new items to it, but still allowing clients read access to
>   existing items?

You need to fix the code in the storage manager, so that failing to
open it read/write is not regarded a fatal error.  The rest of the
code will handle it, I think.


Kjetil T.

Re: read-only cycbuffs?
#34384
Author: Forrest J. Cavalier III
Date: Tue, 05 Jan 1999 00:00
24 lines
1502 bytes
In article <3690DA78.9E6ECC33@computing-services.oxford.ac.uk>, 2david.hastings@computing-services.oxford.ac.uk wrote...
>
>Hi all,
>
>Is there any way of making a cycbuff read-only, ie to prevent innd
>adding new items to it, but still allowing clients read access to
>existing items?

leave it in cycbuff.conf, but don't mention it in storage.ctl
Articles already stored will still be available.  This will
have the intended effect of a "read only" cycbuff.

Usenet RKT subscribers can also read:
    "Does changing storage.ctl make existing articles inaccessible?"
at
    http://www.mibsoftware.com/userkt/inn2.0/0081.htm

Forrest J. Cavalier III, Mib Software, INN customization and consulting 
'Pay-as-you-go' commercial support for INN: Only $64/hour! 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages
   http://www.mibsoftware.com/innsup.htm 


Re: read-only cycbuffs?
#34415
Author: Mark Mentovai
Date: Wed, 06 Jan 1999 00:00
26 lines
1850 bytes
David Hastings wrote in news.software.nntp:
>"Forrest J. Cavalier III" wrote:
>> leave it in cycbuff.conf, but don't mention it in storage.ctl
>> Articles already stored will still be available.  This will
>> have the intended effect of a "read only" cycbuff.
>
>But storage.conf only refers to metacycbuffs, not cycbuffs.

There are so many files that it often becomes confusing.  What you want to
do is edit cycbuff.conf so that the cycbuff: lines for the buffers still
exist, but the symbolic name of the buffers that you want read-only aren't
present in any metacycbuff: definitions.  As long as your server has a
handle on the individual cycbuffs, it will be able to access any articles
stored in them, but if a cycbuff isn't associated with any metacycbuff
(actually if it isn't associated with any storage class), then it won't
get anything stored in it.  By removing an individual cycbuff from a
metacycbuff definition, you are also removing it from a storage class.

-Mox

--
Mark Mentovai
mark@moxienet.com
http://www.moxienet.com/

Re: read-only cycbuffs?
#34428
Author: David Hastings
Date: Wed, 06 Jan 1999 00:00
27 lines
1809 bytes
"Forrest J. Cavalier III" wrote:
> 
> In article <3690DA78.9E6ECC33@computing-services.oxford.ac.uk>, 2david.hastings@computing-services.oxford.ac.uk wrote...
> >
> >Hi all,
> >
> >Is there any way of making a cycbuff read-only, ie to prevent innd
> >adding new items to it, but still allowing clients read access to
> >existing items?
> 
> leave it in cycbuff.conf, but don't mention it in storage.ctl
> Articles already stored will still be available.  This will
> have the intended effect of a "read only" cycbuff.
> 

But storage.conf only refers to metacycbuffs, not cycbuffs.

Dave

-- 
David Hastings                       |  "The Golden Rule was, is and 
Systems Programmer/News Manager      |  ever shall be: 
Oxford University Computing Services |  Don't Lift Lids Off 
email: david.hastings@oucs.ox.ac.uk  |                Cans Of Worms"
URL http://users.ox.ac.uk/~daveh/    |

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