Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lefterav opened this issue Jul 28, 2015 · 3 comments
Open

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

lefterav opened this issue Jul 28, 2015 · 3 comments

Comments

@lefterav
Copy link
Collaborator

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
Copy link
Owner

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
Copy link
Collaborator Author

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
Copy link
Owner

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants