Enonic XP refuses to start except if I run it as root. The error message I get is:
ERROR: Unable to create cache directory: /home/xxx.xxx/enonic-server/enonic-xp-6.15.5/home/work/osgi/cache
ERROR: Error creating bundle cache. (java.lang.RuntimeException: Unable to create cache directory.)
java.lang.RuntimeException: Unable to create cache directory.
I have tried setting all the files in file rights to 777 without any luck. What am I doing wrong? All I did was download the latest version of XP, set the XP_HOME environment variable and run it.