[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New slrn maintainer



Hello,

> > Another related Q: would it be OK to put a script in /etc/cron.weekly 
> > that fetches this list? (ofcourse the machine has to be connected to the 
> > net then).
> 
> That would be acceptable, I think.  Better, though, would be to wrap
> slrn in a script that fetches the file in the background if it's older
> than a week (say) when slrn is started.  Don't forget:

That's an idea....
> - you'll need a setuid C or Perl program to do this properly.  It
>   needs to be setgid to news, but no more than that (if /var/lib/slrn
>   is group-writeable by news).

OK, the setgid news I understand, but why should it be setuid? And why 
specifically a C or perl program?

> - download to a temporary file in the same directory and then install
>   it using mv(1) or rename(2), so that failed downloads don't corrupt
>   the local copy;
> - add a cron job to clean out old temporary files.

Maarten

_____________________________________________________________________________
|     Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL    |
|      boekhold@cindy.et.tudelft.n   boekhold@gopher.library.tudelft.nl     |
|		          Rave or Die!!!!!!                                 |
-----------------------------------------------------------------------------



Reply to: