aboutsummaryrefslogtreecommitdiff
path: root/news/cnews
diff options
context:
space:
mode:
Diffstat (limited to 'news/cnews')
-rw-r--r--news/cnews/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index e9be3bd45a49..218e9abd96b5 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -108,7 +108,11 @@ do-install:
.for f in checknews cnewsdo inews injnews postnews readnews
${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/bin/$f
.endfor
- ${CHOWN} -R news:news ${NEWSARTS} ${NEWSOV} ${NEWSCTL}
+ ${CHOWN} news:news ${NEWSARTS} ${NEWSOV} ${NEWSCTL} ${NEWSCTL}/bin
+.for d in control junk news/announce/newusers news/announce news \
+ in.coming/bad in.coming out.going out.master out.nntp
+ ${CHOWN} news:news ${NEWSARTS}/${d}
+.endfor
${CHOWN} news:news ${NEWSBIN}/input/newsspool
${CHMOD} 6555 ${NEWSBIN}/input/newsspool
.for i in ${MAN1}