ondrejklejch / MT-ComparEval

Tool for comparison and evaluation of machine translation.
Apache License 2.0
56 stars 14 forks source link

Problem after installation: /temp/cache should be writable #30

Open lefterav opened 9 years ago

lefterav commented 9 years ago

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 ?)

ondrejklejch commented 9 years ago

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

lefterav commented 9 years ago

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.

ondrejklejch commented 9 years ago

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 ?