Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Permissions

Started by Muut Archive 10 years ago · 3 replies · 606 views
10 years ago

Hi,
the files created by grav have no write access for the group www-data. I can't delete the cache by the command line, because i am not the www-data user (but i am in the www-data group). I've been reading the documentation to this topic, but no solution is working (except running the server as another user, but i want to keep the www-data user for the apache). Is there any other solution? Is there an option to set group write access to the files?

10 years ago

Yes, i executed this script, but it does not work. Every time the script is creating files, the files have the wrong rights (644 instead of 664) and i cant delete from the command line

10 years ago

the following command works, but i think thats not the way to do that:
sudo -u www-data bin/grav clear-cache

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago