Skip to content

Conversation

@danielbachhuber
Copy link
Member

Fixes #238

Previous behavior:

$ chmod 555 wp-content/plugins/akismet
$ wp plugin delete akismet
$ echo $?
1

New behavior:

$ chmod 555 wp-content/plugins/akismet
$ wp plugin delete akismet
Warning: The 'akismet' plugin could not be deleted.
Error: No plugins deleted.

Co-authored-by: Pascal Birchler <pascalb@google.com>
@danielbachhuber danielbachhuber merged commit 1fe271c into main Oct 11, 2023
@danielbachhuber danielbachhuber deleted the improve/warning-delete-failure branch October 11, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

plugin delete hangs when file permissions forbid the operation

3 participants