[news.software.b] New newsgroup directory permission problem

bill@twg.UUCP (Bill Irwin) (06/04/90)

I  seem  to  be having a problem with permission setting on one  or  more
Bnews   programs.    I   followed    the   instructions   regarding   the
"/usr/spool/news"  directories and made them all "rwx".  As articles  for
new  groups arrive, the new directory seems to get created, owned by root
- group root, with only the owner having write permission.

Then when an attempt is made to install the new article in the directory,
the following entries are made in the log file:

make newsgroup comp.fonts in dir /usr/spool/news/comp/fonts
Cannot install article as /usr/spool/news/comp/fonts/1: Permission denied
Link into /usr/spool/news/comp/fonts/1 failed (Permission denied);
        check dir permissions.

The  inews  is  setuserid  owner  news  group  news.   I  have  read  the
installation  instructions through three times.  I must be blind if  this
is covered.

Any suggestions?
-- 
Bill Irwin - TWG The Westrheim Group - Vancouver, BC, Canada
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uunet!van-bc!twg!bill     (604) 431-9600 (voice) |     UNIX Systems
Bill.Irwin@twg.UUCP       (604) 431-4629 (fax)   |     Integration

clewis@eci386.uucp (Chris Lewis) (06/05/90)

In article <166@twg.UUCP> bill@twg.UUCP (Bill Irwin) writes:
| I  seem  to  be having a problem with permission setting on one  or  more
| Bnews   programs.    I   followed    the   instructions   regarding   the
| "/usr/spool/news"  directories and made them all "rwx".
 
| Then when an attempt is made to install the new article in the directory,
| the following entries are made in the log file:
 
| make newsgroup comp.fonts in dir /usr/spool/news/comp/fonts
| Cannot install article as /usr/spool/news/comp/fonts/1: Permission denied
| Link into /usr/spool/news/comp/fonts/1 failed (Permission denied);
|         check dir permissions.
 
| The  inews  is  setuserid  owner  news  group  news.   I  have  read  the
| installation  instructions through three times.  I must be blind if  this
| is covered.

I take it you're some version of System V unix?  B-news has always had
a bit of a problem with newsgroup directory permissions on System V.
The easiest approach is to change your configuration to create the
directories with mode 777.  A "better" solution is difficult with B-news.
C-news has fixed this with a rather disgusting hack (setnewsids), but
it works.
-- 
Chris Lewis, Elegant Communications Inc, {uunet!attcan,utzoo}!lsuc!eci386!clewis
Ferret mailing list: eci386!ferret-list, psroff mailing list: eci386!psroff-list