mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +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)
|
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||||
PROG = squid-accounting
|
PROG = squid-accounting
|
||||||
PAK_VER = 2
|
PAK_VER = 3
|
||||||
|
|
||||||
DEPS = "perl-DBI perl-DBD-SQLite perl-File-ReadBackwards perl-PDF-API2 sendEmail"
|
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
|
chmod 644 /var/ipfire/accounting/acct.db
|
||||||
chown nobody.nobody /var/ipfire/accounting/acct.db
|
chown nobody.nobody /var/ipfire/accounting/acct.db
|
||||||
fi
|
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
|
rm -f /var/ipfire/accounting/dbinstall.pl
|
||||||
/usr/local/bin/update-lang-cache
|
/usr/local/bin/update-lang-cache
|
||||||
|
|||||||
Reference in New Issue
Block a user