inconsistent file permissions

December 16, 2015 694 views
DigitalOcean WordPress

Hi Guys,
Need help or an experienced admin user to set up file permissions for me.

I am trying to update a plugin but is saying i have inconsistent file permissions,

I have tried the following to update this plugin Ubermenu 3 using Cyberduck sftp

  1. * copied and pasted this code to wp-config.php

define( 'UBERMENUAUTOUPDATES' , 1 );

(add it before the line that reads /* That’s all, stop editing! Happy blogging. */)

  1. Reset file permissions to execute which were 644 now read 755.
  2. Saved files

Thanks for any help much appreciated. Newbie here

1 Answer

Hello,

It's a bit difficult to offer any suggestions as it's not clear what the error exactly is and what exact troubleshooting you have done. What permissions did you reset? On what files? What is the exact errors?

It's important to understand when asking for help to provide as much information as you can. Otherwise it's extremely difficult to help.

Some quick things to consider to check also. Ensure that the directories above the ones you modified have the right permissions. Sometimes these will change when using an FTP client.

Make sure the ownership of the files are correct as well. If you uploaded things, it may have changed the ownership to someone that your web server cannot use. Normally the web server runs under www-data

So you could try running this in your WordPress directory chown -R www-data:www-data /path/to/wordpress/directory

Make sure to update the red path with your actual WordPress path.

Have another answer? Share your knowledge.