[wp-trac] [WordPress Trac] #30921: "Cannot Remove Old Plugin" Obliterates files!

WordPress Trac noreply at wordpress.org
Mon Jan 5 23:53:03 UTC 2015


#30921: "Cannot Remove Old Plugin" Obliterates files!
-----------------------------+------------------------------
 Reporter:  johnstonphilip   |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  4.1
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------
Changes (by dd32):

 * component:  Filesystem API => Upgrade/Install


Comment:

 For Plugin and Theme updates, it would make sense for us to perform an
 is_writable() check on each file within the plugin/theme folder.

 The problem with that is some servers will report that a file is writable,
 but it won't be deletable or modifiable due to filesystem ACL's that PHP
 simply doesn't understand (linux acl's and all flavours of Windows), so it
 won't fix it 100%, but will protect against cases where it's simply a file
 ownership issue.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30921#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list