]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
squid-accounting: set right permissions of html directory for graphs and logo
authorAlexander Marx <amarx@ipfire.org>
Wed, 17 Sep 2014 13:52:45 +0000 (15:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Sep 2014 11:05:22 +0000 (13:05 +0200)
lfs/squid-accounting
src/paks/squid-accounting/install.sh

index 6f0fdc3b2dbb59e9800169ed60bf5e14418e5c4b..0dca63f751f4c43aa036d8fa53954c740fe7e194 100644 (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"
 
index f20b85f4640db379b1f4dbac08508513e6c2f906..835055ad5cf7608ae461b38a9c47f2b280221230 100644 (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