Hello David,
That’s weird because this plugin doesn’t include any code that can prevent it from being deletion.
As you have EC2 instance, could you answer the following please?
– Does the plugin folder permissions appear different than the other folders?
– Could you check the error log? Do you see anything unusual?
An article that might be helpful: https://www.wpeka.com/cant-delete-a-plugin.html
Hi.
Yes, folder permissions for the folder for your plug-in are different. They are 755, whereas all other folders in the plug-in directory are 775. As mentioned in the original post, we cannot change those permissions on the folder for your plug in – keep getting a permission denied error.
Attempting to delete any single file in your plug-in folder leads to the same permission denied error. Somehow, your plug in (and only that plug in) has changed its permissions, which makes me very nervous.
There is nothing unusual in our error logs either.
I will have one of my devs have a closer look at this folder via SSH later in the week. There is definitely something weird going on here though (and will also investigate the WP options table, although that shouldn’t be required to just delete a plug in).
Hi David,
– Plugin install and uninstall is generally managed by WordPress (core) itself. That means this plugin can’t change the folder permissions of its own. In fact, this plugin has nothing to do with permissions at all.
– Correct File and Folder Permissions in WordPress should be as following: (ref. link)
755 for all folders and sub-folders.
644 for all files.
I am happy to look into this further. But as per the WordPress forum guidelines, I can’t ask you for any login credentials here (as this is a public forum). Please contact me via contact form on my website.
Agreed. We manually changed the permissions on our plug in folders to 775 as part of a test to try and change the permissions on your plug in folder (since 755 doesn’t allow write access for group permissions, which we thought might be the issue). The fact that the only folder in our entire WP directory which has permission denied errors and where can’t change the permissions is your folder is what is causing the alarm bells. And there are definitely several other support articles about problems deleting this plug in. I know you say there is no code in your plug in about deletions, but this simply shouldn’t be happening as we should be able to manage permissions on all our folders. We can’t even understand how the permission on your plug in folder got set to 755 in the first instance.
As I noted above, we will have one of our devs look at this folder in detail later this week and I will revert with what we find.
Hi David,
I would love to hear what your dev says. Please keep me in the loop.
* Rest assured, there is nothing suspicious in this plugin so you can keep it inactive if you are not using it anymore.