From: František Dvořák Date: Mon, 26 Nov 2012 21:58:08 +0000 (+0100) Subject: Set owner for html page too. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=728e1b40ec99836052f673039a0ece387440fd3b;p=meta-dashboard.git Set owner for html page too. --- diff --git a/matrixgen-cron.sh b/matrixgen-cron.sh index 9e06fd4..f4152c0 100755 --- a/matrixgen-cron.sh +++ b/matrixgen-cron.sh @@ -12,9 +12,10 @@ for dir in `ls -1 | grep -v '\.'`; do if test $page = 'matrix'; then rm -f ./report-*.twiki mv /tmp/report-*.twiki . - chown apache:users $page.html report-*.twiki + chown apache:users report-*.twiki /sbin/restorecon report-*.twiki fi + chown apache:users $page.html /sbin/restorecon $page.html fi done