Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am new to seutp an apache server, and right now I am setting up a bugzilla server. I followed this instruction http://www.bugzilla.org/docs/tip/en/html/installation.html#install-bzfiles, which says

"Good locations are either directly in the web server's document directories or in /usr/local with a symbolic link to the web server's document directories or an alias in the web server's configuration. " -- so I stored the downloaded bugzilla directory into /srv/www

Next, I follow this "Once all the files are in a web accessible directory, make that directory writable by your web server's user. This is a temporary step until you run the checksetup.pl script, which locks down your installation." --- so I looked at my apache server process and found that it is running with user name of 'wwwrun' (by the way, who created this user name? I just started apache server by 'sudo rcapache2 start'), it seems that I need to use chmod to make my /srv/www/bugzilla-3.4.5 writeable by 'wwwrun', how to do that?


share|improve this question

migrated from stackoverflow.com Feb 14 '10 at 17:30

This question came from our site for professional and enthusiast programmers.

1 Answer 1

Do a chmod or chown like this

 sudo chmod 0777 /srv/www/bugzilla-3.4.5

or alternatively do

 sudo chown -R wwwrun.wwwrun /srv/www/bugzilla-3.4.5
 sudo chmod 0755 /srv/www/bugzilla-3.4.5
share|improve this answer
the first appoach seems to leave severe security loophole, isn't it? –  charlie Feb 13 '10 at 19:10

Your Answer


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