arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wordpress Permission Problem.
#6
(01-06-2019, 10:52 AM)humanpuff69 Wrote: Chmod and chown should fix the problem . chown to www-data or add yourself to www-data group

If you use hosting you probably not encounter this issue but try chmod 777 the file that asked for permission . Because the cms in this case wordpress probably need the permission

The plugin installation problem has been solved by these commands.
Quote:chown www-data:www-data  -R * # Let Apache be owner
find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \;  # Change file permissions rw-r--r--
But i still have the theme installation problem.I have changed the max file upload size via a plugin but that is useless.It is not working.Still searching for the solution.

(01-06-2019, 09:42 AM)Hidden Refuge Wrote: 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.

A lot of thanks.You are right the plugin installation problem has been fixed by chown.But still facing the theme installation problem.In past i fixed that theme installation problem by increasing the size from a file.I don't remember.But i am unable to find now.

Thanks to Post4VPS and Hostlease for their great services.  


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
16,574
07-16-2020, 01:22 PM
Last Post: Amresh
2,509
11-29-2019, 04:03 PM
Last Post: xdude
8,537
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