Thread View: news.software.nntp
6 messages
6 total messages
Started by Sasko Stefanovski
Wed, 10 Dec 2003 21:20
rnews -U: fails to delete from incoming
Author: Sasko Stefanovski
Date: Wed, 10 Dec 2003 21:20
Date: Wed, 10 Dec 2003 21:20
34 lines
2596 bytes
2596 bytes
Help! This the first time I am setting up a news server! Problem: rnews -U does delever the queued postings, but fails to remove them from the incoming directory. Here is what I'm seeing in news.err: Dec 10 16:05:01 gossip rnews: cant remove 3fd74e54elQoyR Permission denied Dec 10 16:05:01 gossip rnews: cant remove 3fd78047N7p521 Permission denied But the permissions seems to look fine: ls -l /var/spool/news/incoming -rw-rw-r-- 1 news news 694 Dec 10 11:48 3fd74e54elQoyR -rw-rw-r-- 1 news news 675 Dec 10 15:21 3fd78047N7p521 drwxr-xr-x 2 news news 4096 Jul 24 2001 bad ls -l /var/spool/news drwxr-xr-x 2 news news 4096 Jul 24 2001 archive drwxr-xr-x 3 news news 4096 Dec 10 11:57 articles drwxr-xr-x 3 news news 4096 Dec 10 15:41 incoming drwxr-xr-x 2 news news 4096 Jul 24 2001 innfeed drwx------ 2 root root 16384 Dec 3 17:24 lost+found drwxr-xr-x 2 news news 4096 Jul 24 2001 outgoing drwxr-xr-x 3 news news 4096 Dec 10 11:57 overview -rw-rw-r-- 1 news news 123 Dec 10 11:56 tradspool.map I am running the rnews command as news user. Any ideas where I should look for the problem. Sasko
Re: rnews -U: fails to delete from incoming
Author: Russ Allbery
Date: Wed, 10 Dec 2003 21:50
Date: Wed, 10 Dec 2003 21:50
17 lines
1788 bytes
1788 bytes
Sasko Stefanovski <sstefano@richmond.edu> writes:
> Help! This the first time I am setting up a news server!
> Problem:
> rnews -U does delever the queued postings, but fails to remove them from
> the incoming directory.
Is rnews setuid uucp? If so, /var/spool/news/incoming needs to be
group-writable by the news group (right now, only the files in it are but
the directory itself isn't).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: rnews -U: fails to delete from incoming
Author: Sasko Stefanovski
Date: Wed, 10 Dec 2003 22:36
Date: Wed, 10 Dec 2003 22:36
23 lines
2047 bytes
2047 bytes
Yes, you're write. Thanks! But anyway, why rnews should be owned bu uucp? As I can see it is the only file from the inn package with that ownership? Sakso Russ Allbery wrote: > Sasko Stefanovski <sstefano@richmond.edu> writes: > > >>Help! This the first time I am setting up a news server! > > >>Problem: >>rnews -U does delever the queued postings, but fails to remove them from >>the incoming directory. > > > Is rnews setuid uucp? If so, /var/spool/news/incoming needs to be > group-writable by the news group (right now, only the files in it are but > the directory itself isn't). >
Re: rnews -U: fails to delete from incoming
Author: Paul Tomblin
Date: Wed, 10 Dec 2003 22:55
Date: Wed, 10 Dec 2003 22:55
17 lines
2045 bytes
2045 bytes
In a previous article, Sasko Stefanovski <sstefano@richmond.edu> said:
>But anyway, why rnews should be owned bu uucp? As I can see it is the
>only file from the inn package with that ownership?
Probably historical reasons. When news packages came via uucp, uucp would
run the process that, well, "processed" the package. I've never done uucp
with INN (I switched from CNews to INN because I stopped using uucp), but
I think INN's rnews is a legacy from that.
It's been so long that the details are murky, but didn't the uucp news
packets have "#!rnews" as the first line?
--
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
Failure is not an option. It comes bundled with your Microsoft product.
-- Ferenc Mantfeld
Re: rnews -U: fails to delete from incoming
Author: Russ Allbery
Date: Wed, 10 Dec 2003 23:13
Date: Wed, 10 Dec 2003 23:13
27 lines
2349 bytes
2349 bytes
Paul Tomblin <ptomblin@xcski.com> writes:
> In a previous article, Sasko Stefanovski <sstefano@richmond.edu> said:
>> But anyway, why rnews should be owned bu uucp? As I can see it is the
>> only file from the inn package with that ownership?
It's not by default any more. You have to pass --enable-uucp-rnews to
configure.
> Probably historical reasons. When news packages came via uucp, uucp
> would run the process that, well, "processed" the package. I've never
> done uucp with INN (I switched from CNews to INN because I stopped using
> uucp), but I think INN's rnews is a legacy from that.
Yeah, rnews was originally for doing UUCP and has since been adapted to do
a few other things.
> It's been so long that the details are murky, but didn't the uucp news
> packets have "#!rnews" as the first line?
Yup.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: rnews -U: fails to delete from incoming
Author: Paul Tomblin
Date: Thu, 11 Dec 2003 01:33
Date: Thu, 11 Dec 2003 01:33
19 lines
2131 bytes
2131 bytes
In a previous article, Russ Allbery <rra@stanford.edu> said: >Paul Tomblin <ptomblin@xcski.com> writes: >> In a previous article, Sasko Stefanovski <sstefano@richmond.edu> said: >>> But anyway, why rnews should be owned bu uucp? As I can see it is the >>> only file from the inn package with that ownership? > >It's not by default any more. You have to pass --enable-uucp-rnews to >configure. Well, whoever makes the inn rpms for RedHat does pass that, I think. They also chose some really *stupid* locations for some of the files if you ask me. -- Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/ ... our elderly citizens walk down the darkest of alleyways!... and the weak and nerdy are admired for their computer programming abilities!... -- Homer Simpson
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