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 →

Debian: Apache not using correct owner and group

Solved by Youle View solution

Started by Youle 2 years ago · 21 replies · 3100 views
2 years ago

Hello to all,

  1. For users who are not Sys Admins, Webmin/Virtualmin is a blessing. I would suggest installing it on your server, it is compatible with Alma, Rocky, Debian, and Ubuntu.
    https://www.virtualmin.com/download/

  2. After unpacking the Grav Skeleton of your choice, in the Apache website root directory, first set the permissions as shown in the documentation:

    (note: adjust GROUP to be the group your apache runs under, found in the previous command. [www-data, apache, nobody, etc.]):

TXT
chgrp -R GROUP .
find . -type f | xargs chmod 664
find . /bin -type f | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002

https://learn.getgrav.org/17/basics/requirements#permissions

I never had problems with the ownership of the created pages with the Grav Admin module

When receiving blank pages, the permissions of point 2 are the first to do.

Hope this helps.

2 years ago

That's the first thing I did, and I still did have permissions issues.

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago