[news.software.b] Cnews problem posting articles

lad@lad.UUCP (lad) (08/08/89)

I just finished installing Cnews on a Sun 3/160 running SunOS 4.0.3.  The
install went well except I was not able to run the doit.* scripts as bin
and root due to permission problems.  So, after running all of the scripts
as root everything seemd to install ok.  

My first question is: are all of the permissions (owner, group) set right?

Second question:  Whenever I try to psot news I get:

"/tmp/pn3820" 7 lines, 63 characters 
Posting...
nusdl {root} % relaynews: can't redirect standard stream to
`/usr/lib/news/log' (Permission denied)
/bin/inews: article in //dead.article


Help!


-- 
         Lawrence A. Deleski             |       Silicon Compiler Systems
         uunet!sdl!lad                   |       15 Independence Blvd.
         Cash-We-Serve 76127,104         |       Warren, NJ 07060
         MABELL:  (201) 580-0102         |       Ext. 251

henry@utzoo.uucp (Henry Spencer) (08/08/89)

In article <1298@lad.UUCP> lad@lad.UUCP (lad) writes:
>... I was not able to run the doit.* scripts as bin
>and root due to permission problems.  So, after running all of the scripts
>as root everything seemd to install ok.  
>My first question is: are all of the permissions (owner, group) set right?

No.  If you weren't able to run doit.news as news -- can you explain why? --
then a whole bunch of control files and the like are owned by root, not by
news.  It was not a random whim that caused us to specify that those files
be run under those specific uids, or local equivalents thereof.

A lot of people on fouled-up systems have problems running things as bin,
which I can understand and sympathize with, and we've done some things to
make that situation easier.  But if you cannot run things as news, how on
Earth can you run a news system?

>Second question:  Whenever I try to psot news I get:
>nusdl {root} % relaynews: can't redirect standard stream to
>`/usr/lib/news/log' (Permission denied)

Try "chown news /usr/lib/news/*" or the equivalent to at least partially
fix up the fouled-up ownerships.
-- 
1961-1969: 8 years of Apollo.  |     Henry Spencer at U of Toronto Zoology
1969-1989: 20 years of nothing.| uunet!attcan!utzoo!henry henry@zoo.toronto.edu