Re: trouble adding a newsgroup

Steve Whitlatch <[email protected]>
Newsgroups gmane.network.sn
Organization Steve Whitlatch, Inc.
Message-ID <[email protected]>
Hello  Ralph,

Thanks, I've got it now. You were on the right track. 

chown news.news username password 

did the trick. 

On my machine, snget, snfetch, snstore all run as the user "news". It's been 
about a year since I did the sn install. I've forgotten what was required and 
what I did; however, I now see that I never did a chown on any of the sn 
username and password files. root.root owned them all until now. It could be 
that my ISP does not require a username or password for news access, and that 
is why I was able to still fetch news even though the file ownerships were 
wrong.

I was getting a lot of "cat: username: Permission denied" error messages 
before, but the news was still fetched. 

Working good now. All error messages are gone. News is fetched from all news 
servers where requested.

Thanks,

Steve Whitlatch


On Thursday 17 March 2005 02:36 am, Ralph Corderoy wrote:
> Hi Steve,
>
> > It's not working yet. Here's what I've done, as root.
>
> Ah, as root?
>
> > 1) snnewgroup eclipse.newcomer news.eclipse.org 119
> > 2) cd   /var/spool/news/.outgoing/news.eclipse.org:119
> > 3) echo my-username >username
> > 4) echo my-password >password
> > 5) chmod 600 username password
> > 6) snget
> >
> > At this point, snget downloads news articles from my ISP (no problem),
> > but when it attempts to download articles from news.eclipse.org, I get
> > these error messages:
> >
> >   snfetch:eclipse.newcomer:Bad response to GROUP, got "480 Authentication
> >   required for command"
> >   snget:reap:job eclipse.newcomer exited 3
> >   cat: username: Permission denied
>
> This looks like one problem.  username is 600 which is correct, yet it
> still can't be read.  I'd guess it's owned by root not sn and that the
> program is running as sn.  Try `chmod sn.sn username password'.
>
> Cheers,
>
>
> Ralph.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.