From 728e1b40ec99836052f673039a0ece387440fd3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 26 Nov 2012 22:58:08 +0100 Subject: [PATCH] Set owner for html page too. --- matrixgen-cron.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.8.2.3