XF 2.0 Permissions error


Active member
I'm getting this error when I try to save style property changes:

ErrorException: mkdir(): Permission denied in src/XF/Util/File.php at line 178
mkdir() in src/XF/Util/File.php at line 178
XF\Util\File::createDirectory() in src/XF/Util/File.php at line 200
XF\Util\File::writeFile() in src/XF/DesignerOutput.php at line 293
XF\DesignerOutput->writeSpecialFile() in src/XF/DesignerOutput/StyleProperty.php at line 95
XF\DesignerOutput\StyleProperty->rebuildPropertyLessCache() in src/XF/DesignerOutput/StyleProperty.php at line 84
XF\DesignerOutput\StyleProperty->XF\DesignerOutput\{closure}() in src/XF.php at line 236
XF::triggerRunOnce() in src/XF/Mvc/Dispatcher.php at line 128
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1777
XF\App->run() in src/XF.php at line 320
XF::runApp() in admin.php at line 13
I'm assuming I have something wrong with directory permissions, but I can't figure out what. Both data and internal_data are writable and owned by the right user and group.

Any ideas?