squid-accounting: set right permissions of html directory for graphs and logo

This commit is contained in:
Alexander Marx
2014-09-17 15:52:45 +02:00
committed by Michael Tremer
parent 21df0788ab
commit d71bcfce59
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ THISAPP = squid-accounting-$(VER)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = squid-accounting
PAK_VER = 2
PAK_VER = 3
DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2 sendEmail"

View File

@@ -31,5 +31,8 @@ if [ ! -f /var/ipfire/accounting/acct.db ]; then
chmod 644 /var/ipfire/accounting/acct.db
chown nobody.nobody /var/ipfire/accounting/acct.db
fi
#Set right permissions of directory /srv/web/ipfire/html/accounting
chown -R nobody.nobody /srv/web/ipfire/html/accounting
chmod 755 -R /srv/web/ipfire/html/accounting
rm -f /var/ipfire/accounting/dbinstall.pl
/usr/local/bin/update-lang-cache