Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a good working new installation of Bugzilla 4.0.

I have upgraded to version 4.0.2 using the patch.

Everything went ok until I had to clear the shutdownhtml field in the Params page

Doing that, gave the error on the screen:

Software error:

Error reading ./data/params: Permission denied at Bugzilla/ line 323.
Compilation failed in require at /var/www/bugzilla/editparams.cgi line 28.
BEGIN failed--compilation aborted at /var/www/bugzilla/editparams.cgi line 28.
For help, please send mail to the webmaster (webmaster@localhost), giving this error message and the time and date of the error.

Ok, it's definitely a permission error. I have set /var/www/bugzilla as follow:

drwxr-xr-x 16 www-data www-data    4096 2011-09-22 12:58 bugzilla/

Q1: What user should have done the patch upgrade? I used Administrator with sudo. -- was that wrong? Q2: What should be the settings for the directory structure and files? isn't 755 and chown/chgrp www-data is enough?

ANSWER: I had to change the following directory in order to fix the permission rights

chmod 777 /var/www/bugzilla/data/template/template/en/default (for all changes to be written) chmod 777 /var/www/bugzilla/data/params

This works, but still I don't know how it happened.

share|improve this question
up vote 1 down vote accepted

chmod 777 /var/www/bugzilla/data/template/template/en/default

(for all changes to be written)

chmod 777 /var/www/bugzilla/data/params

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.