Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Getting this Software Error on trying to update the parameters in bugzilla.

Error in tempfile() using data/params.XXXXX: Could not create temp file data/params.BFQJE: 
Permission denied at Bugzilla/ line 293

Please help

share|improve this question

Could not create temp file data/params.BFQJE: Permission denied at Bugzilla/ line 293

This is pretty self-explanatory. You need to adjust permissions for the data/ dir.

It's relative to bugzilla installation dir as one may learn by reading the code.

share|improve this answer

You need to make sure that every content in the bugzilla directory have been given permission accordingly.You can run this command in the bugzilla directory:

 find . -type d -exec chmod 755 {} \;
 find . -type f -exec chmod 644 {} \;
 find . -name \*.cgi -exec chmod 755 {} \;
 find . -name \*.pl -exec chmod 755 {} \;
 find . -name \*.sh -exec chmod 755 {} \;

after that run the


lastly you need to restart your webserver(for me i use apache)

  service httpd restart
share|improve this answer

If you ran as root and it did not fix things, check your access control lists (acl) on the files.

I had this same problem and while the permissions looked right at first glance, there were access control lists in play that were causing problems.

drwxrwx---+ 8 root www-data 4096 May  5 12:23 data

The plus (+) at the end of the permissions indicates that an access control list is active. Running getfacl showed that the www-data group did not have write permissions.

getfacl data
# file: data
# owner: root
# group: www-data
... other acls

Once I removed access control lists from the bugzilla install was able to set things straight.

sudo setfacl -bR bugzilla/
cd bugzilla
sudo ./
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.