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

Server / Website Permission Issue

Started by Sunil 6 years ago · 4 replies · 378 views
6 years ago

Hi,

I am using CentOS 7 and OpenliteSpeed Panel. I am getting permission issue in GRAV whereas same account when used for OpenCart Open Source Ecommerce all permissions are perfect.

I tried using all forums or referances to correct it but nothing working. I am not sure what needs to be done to fix this issue.

SELinux is already disabled.

I am using the script to fix this which is tested and working but not for GRAV.


sudo chown -R $USERNAME.$USERNAME $HOMEDIR
sudo find $HOMEDIR/ -type f -exec chmod 664 {} \; && sudo find $HOMEDIR/ -type d -exec chmod 775 {} \;

Can anyone guide?

6 years ago

I think your script should read like this:

sudo chown -R $USERNAME:$USERNAME $HOMEDIR
sudo find $HOMEDIR/ -type f -exec chmod 664 {} \; && sudo find $HOMEDIR/ -type d -exec chmod 775 {} \;

6 years ago

YES. But permission issues not fixed.
issue|689x481

6 years ago

is the value of $HOMEDIR correct ?

6 years ago

YES. There is no issue that . I also observed that if I put 777 for cache .. then cache folder permission fixed else GRAV CRM show write issue.

Same setup working perfectly on shared hosting but not on VPS.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 95 15 hours ago
General · by pamtbaau, 20 hours ago
1 61 19 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 356 5 days ago
General · by Duc , 6 days ago
3 44 6 days ago