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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Debian: Apache not using correct owner and group

Solved by Youle View solution

Started by Youle 1 year ago · 21 replies · 524 views
1 year 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.

1 year ago

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

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 85 13 hours ago
General · by pamtbaau, 18 hours ago
1 60 18 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 350 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago