Permission denied when creating 'boxes-300.css'
|Reported by:||robin.pellatt@…||Owned by:||mrelbe|
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.
Change History (16)
comment:2 in reply to: ↑ description Changed 22 months ago by mrelbe
- Status changed from new to assigned