--- bugzilla-3.4/Bugzilla/Constants.pm.orig 2010-11-03 01:47:33.000000000 +0100 +++ bugzilla-3.4-rw/Bugzilla/Constants.pm 2010-11-04 00:00:51.000000000 +0100 @@ -511,9 +511,9 @@ 'cgi_path' => $libpath, 'templatedir' => "$libpath/template", 'project' => $project, - 'localconfig' => "$libpath/$localconfig", - 'datadir' => "$libpath/$datadir", - 'attachdir' => "$libpath/$datadir/attachments", + 'localconfig' => "/etc/bugzilla/$localconfig", + 'datadir' => "/var/lib/bugzilla/$datadir", + 'attachdir' => "/var/lib/bugzilla/$datadir/attachments", 'skinsdir' => "$libpath/skins", 'graphsdir' => "$libpath/graphs", # $webdotdir must be in the web server's tree somewhere. Even if you use a @@ -522,7 +522,7 @@ # change showdependencygraph.cgi to set image_url to the correct # location. # The script should really generate these graphs directly... - 'webdotdir' => "$libpath/$datadir/webdot", + 'webdotdir' => "/var/lib/bugzilla/$datadir/webdot", 'extensionsdir' => "$libpath/extensions", }; }