Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Permissions

Started by Muut Archive 9 years ago · 3 replies · 410 views
9 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?

9 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

9 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 Deleted User, 9 years ago
0 1330 9 years ago
Archive · by Muut Archive, 9 years ago
2 922 9 years ago
Archive · by Muut Archive, 9 years ago
2 4052 9 years ago
Archive · by Muut Archive, 9 years ago
1 2930 9 years ago
Archive · by Muut Archive, 9 years ago
3 1109 9 years ago