diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-16 17:53:01 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-03-18 04:50:10 +0100 |
commit | 34249adbad14608948a0bf1f881e7d718d9d4da1 (patch) | |
tree | 7da012c60016b9603b42dc43665741833feaaf2a /Bugzilla | |
parent | 5f4ef66e740f2677df00894510c1a675060f13fa (diff) | |
download | bugzilla-34249adbad14608948a0bf1f881e7d718d9d4da1.tar.gz bugzilla-34249adbad14608948a0bf1f881e7d718d9d4da1.tar.xz |
Bug 1446156 - mkdir template_cache: Permission denied
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 7a97f6da2..ae4f9bbad 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -1074,6 +1074,8 @@ our %_templates_to_precompile; sub precompile_templates { my ($output) = @_; + return unless is_webserver_group(); + # Remove the compiled templates. my $cache_dir = bz_locations()->{'template_cache'}; my $datadir = bz_locations()->{'datadir'}; |