• Resolved torking

    (@torking)


    Hi – Never had a plugin we couldn’t delete before, but this one refuses to delete. Clicking delete in WordPress admin just leads to ‘Deleting…’ message but the plug-in fails to delete. Activating and deactivating the plug-in and then trying to delete again yields same result.

    We run a dedicated AWS EC2 server for our WordPress site, so have total control over all aspects, including folder permissions. We are unable to change folder permissions or delete the plug-in folder using FTP. We just get repeated permission denied errors. We are able to delete any other plug-in or plug-in folder except this one.

    I notice 4-5 other support articles with the same issue. I have read them all and tried the suggested solutions, but it just refuses to delete. I can’t even change the permissions on the folder, which is very odd!

    Any remaining suggestions?

    David.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dipak C. Gajjar

    (@dipakcg)

    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

    Thread Starter torking

    (@torking)

    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).

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    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.

    Thread Starter torking

    (@torking)

    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.

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to delete plugin’ is closed to new replies.