mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
squid-accounting: set right permissions of html directory for graphs and logo
This commit is contained in:
committed by
Michael Tremer
parent
21df0788ab
commit
d71bcfce59
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user