MT-ComparEval icon indicating copy to clipboard operation
MT-ComparEval copied to clipboard

Problem after installation: /temp/cache should be writable

Open lefterav opened this issue 9 years ago • 3 comments

I got the following error and I fixed it manually.

Unable to write to directory '../temp/cache'. Make this directory writable

We should either provide instructions in the readme file or make it through install.sh (which is probably not sure, since it might need root permissions ?)

lefterav avatar Jul 28 '15 15:07 lefterav

Where did you install MT-ComparEval? Did ./bin/watcher.sh produce this error?

I assume, that you installed MT-ComparEval inside /var/www and you use Apache. I think that than the application should be run with user that belongs to www-data group. Otherwise, there will be other problems.

Please, can you try the following approach? http://askubuntu.com/questions/365087/grant-a-user-permissions-on-www-data-owned-var-www

ondrejklejch avatar Jul 28 '15 15:07 ondrejklejch

Yes, this problem was made by watcher. I am using apache in a custom folder. I fixed the error manually by running "sudo chmod g+rwx temp/cache'. I am not sure, but this may be a common problem for other users, so this is why I suggested to add a clarification in the readme file.

lefterav avatar Jul 28 '15 16:07 lefterav

Yes, but I would like to propose more systematic approach. Please, can you try the approach mentioned in http://askubuntu.com/questions/365087/grant-a-user-permissions-on-www-data-owned-var-www ?

ondrejklejch avatar Jul 28 '15 16:07 ondrejklejch