arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wordpress Permission Problem.
#4
Setting permission through chmod is often not enough when working with web servers. For things to work properly you have to change ownership of all the files in /var/www to the user and group that is used to run the web server services. Usually (this highly depends on the OS though) the user and group is www-data (99% of all Debian and Ubuntu based distros have this user for that purpose).

So long story short: adjust file ownership also instead of only using chmod. To do that you can use the chown (change owner) command. Syntax: chown -R user:group /path/to/filesorfolders. -R stands for recursive to apply it to all sub folders and files. An example: chown -R www-data:www-data /var/www

Once that is done there is even no need for the dangerous chmod 777.
[Image: zHHqO5Q.png]


Messages In This Thread
Wordpress Permission Problem. - by Rehan - 01-06-2019, 08:38 AM
RE: Wordpress Permission Problem. - by rudra - 01-06-2019, 09:31 AM
RE: Wordpress Permission Problem. - by Mashiro - 01-06-2019, 09:42 AM
RE: Wordpress Permission Problem. - by Rehan - 01-06-2019, 10:56 AM
RE: Wordpress Permission Problem. - by Rehan - 01-06-2019, 11:22 AM
RE: Wordpress Permission Problem. - by Mashiro - 01-06-2019, 12:01 PM
RE: Wordpress Permission Problem. - by Rehan - 01-06-2019, 12:14 PM
RE: Wordpress Permission Problem. - by deanhills - 01-07-2019, 08:49 AM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
19,080
07-16-2020, 01:22 PM
Last Post: Amresh
3,087
11-29-2019, 04:03 PM
Last Post: xdude
9,852
07-16-2018, 01:36 PM
Last Post: deanhills

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting