-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Web update permissions access #1355
Comments
You also have to chmod g+w on the application folder (/usr/share/FreshRSS in your case) to allow the webuser group write access to the installation directory. I personally only do this while upgrading and reduce the privileges after (chmod g-w on the application folder). |
This work fine, but this not only on the /usr/share/FreshRSS but recursively too. sudo chmod -R g+w .
# make the update with the web interface
sudo chmod -R g-w .
sudo chmod -R g+w ./data/ |
@paul-mesnilgrente can you please show the rights of |
And depending on your Apache config, see also FollowSymlinks https://httpd.apache.org/docs/2.4/mod/core.html |
The problem was solved with the script I gave... But if you want it :
|
Ah, ok, very good :-) |
I think the problem is when installing FreshRSS in the share folder and only symlinking the "p" directory the application folder in usr is not group writable. The referenced installation instructions presume that the web user has access to the whole directory (as would be the case when installing the whole app in web directory but is not when using symlink to /usr/). |
Sorry, I read a bit too fast earlier today and I did not see the fact that the problem was for updates. Indeed, a Web update requires setting the rights as you did. Another thing we should document better... |
I have made a little update in the read-me. Comments welcome #1356 |
Hello everyone,
I have used your script in the README to install FreshRSS last week. The only difference is that I have placed the symlink in
/var/www
instead of/var/www/html/
and I use an apache virtualhost :The problem is that when I click on "Check the updates", an error message prints that
/usr/share/FreshRSS
is not accessible by the HTTP user.So I have run again that line
sudo chown -R :www-data . && sudo chmod -R g+r . && sudo chmod -R g+w ./data/
but the problem is not solved. If you have an idea...Thank you very much.
PS: I am on ubuntu, with FreshRSS 1.5
The text was updated successfully, but these errors were encountered: