-
Notifications
You must be signed in to change notification settings - Fork 14
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
Files created by watcher do not have g+w permission and prevent apache to read them #32
Comments
I think that this is another problem with permissions as mentioned in #30. Please, check that the folder storage/precomputed_ngrams is not empty and change the persmissions of the files inside. The problem is caused by running ./bin/watcher.sh with different user than www-data. Again, it should be solved by http://askubuntu.com/questions/365087/grant-a-user-permissions-on-www-data-owned-var-www. |
Indeed, this solved this issue. The contents and permissions of the directory are:
after running
I am trying to understand where the advice form askubuntu applies, because in my case the directory has already the desired group ownership, the only problem is that there was no write access to the files. I used the command |
Because |
they are the same group. The problem is that when watcher writes files in the n_gram directory, they don't have the g+w permission. |
I created a cron job that runs manually g+rw in the directories temp/cache and storage/n_gram_precompute |
Fixed in 1ea8b4b. I'm sorry that I didn't know how to fix it immediately :) |
I did a normal import of experiments. I included the
precompute_ngrams: true
in theconfig.neon
of the task. The watcher reportsN-grams precomputation done
. Unfortunately when the user clicks on "Confirmed n-grams" they getI'm not sure if I am doing something wrong. Could you please instruct me on how to debug this?
The text was updated successfully, but these errors were encountered: