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 →

Permission issue - 777 :-(

Started by Sunil 7 years ago · 1 replies · 669 views
7 years ago

Hi,

I am getting an error -

The directory "/home/abcd.com/html/cache/doctrine/e1619efa" is not writable.

When I set like
chmod -R 777 cache

OR
if I change owner like
sudo chown -R nobody:nobody /home/abcd.com

Everything working fine.

I am trying to change the owner to FTP so that he can manage it. But I am getting an error.

sudo usermod -a -G nobody webrun_ftp
sudo chown -R webrun_ftp:webrun_ftp /home/abcd.com/html
sudo chmod -R 755 /home/abcd.com

777 is too dangerous and I wanted to run/manage via FTP. Using Openlitespeed and web server.

Please help .

7 years ago

What is your web server running? If apache, then you have www-data user and group.

Use the www-data group with 755 on the folder structure.

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