Permission denied when creating 'boxes-300.css'
|Reported by:||Owned by:||Mikael Relbe|
Full error message is:
Permission denied: '/opt/trac/lib/python2.6/site-packages/tracwikiextras/htdocs/css/boxes-300.css'
This happens because the tracwikiextras tries to create the "boxes-300.css" file, but Trac is running under www-data and does not have permission to write to site-packages, which was created using sudo.
I'm not sure if there are standards for this, but IMHO a Python package should only be writing to site-packages at install time, not at runtime.