diff options
author | dinoex <dinoex@FreeBSD.org> | 2001-01-24 06:23:07 +0000 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2001-01-24 06:23:07 +0000 |
commit | 3941dc2d380e5472b8b12c1e9022b7e7911b939f (patch) | |
tree | 20995b0d62ce7438f2a58d2d6b2e2629802438d5 /news/cnews | |
parent | 25fc84c07755e1e52bdd459bbd5d5790b15947ba (diff) | |
download | FreeBSD-ports-3941dc2d380e5472b8b12c1e9022b7e7911b939f.zip FreeBSD-ports-3941dc2d380e5472b8b12c1e9022b7e7911b939f.tar.gz |
Removed write permissions on %PREFIX%/news/cnewsbin/input/newsspool
global SUID bit is needed by uux group permission will not be enought.
Thanks to jedgar@fxp.org (Chris Faulhaber) for security advice.
Diffstat (limited to 'news/cnews')
-rw-r--r-- | news/cnews/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile index 7ddfe72..2b6b30d 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -98,9 +98,9 @@ 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} -R news.news ${NEWSARTS} ${NEWSOV} ${NEWSCTL} ${CHOWN} news.news ${NEWSBIN}/input/newsspool - ${CHMOD} 6755 ${NEWSBIN}/input/newsspool + ${CHMOD} 6555 ${NEWSBIN}/input/newsspool .for i in ${MAN1} ${INSTALL_MAN} ${WRKSRC}/man/${i} ${PREFIX}/man/man1 .endfor |