aboutsummaryrefslogtreecommitdiff
path: root/www/twiki/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/twiki/files/pkg-install.in')
-rw-r--r--www/twiki/files/pkg-install.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/www/twiki/files/pkg-install.in b/www/twiki/files/pkg-install.in
index c742681e7bd3..e4ec413ffb65 100644
--- a/www/twiki/files/pkg-install.in
+++ b/www/twiki/files/pkg-install.in
@@ -29,10 +29,7 @@ case $2 in
done
find ${TWIKIDIR}/data -type f -name \*.bak | xargs rm
- chown ${WWWUSER}:${WWWGROUP} `find ${TWIKIDIR}/data -type f`
- chown ${WWWUSER}:${WWWGROUP} `find ${TWIKIDIR}/data -type d`
- chown ${WWWUSER}:${WWWGROUP} `find ${TWIKIDIR}/pub -type f`
- chown ${WWWUSER}:${WWWGROUP} `find ${TWIKIDIR}/pub -type d`
+ chown -R ${WWWUSER}:${WWWGROUP} ${TWIKIDIR}
chmod 755 ${TWIKIDIR}/bin/*
chmod 664 `find ${TWIKIDIR}/data -type f`