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

WordPress Trac noreply at wordpress.org
Thu Feb 5 02:02:44 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:
-----------------------------+------------------------------

Comment (by dd32):

 > Can we do an is_writable check on both files and folders? Are both
 considered "files" in these types of instances?

 My assumption was yes, it'd be applied to both files and folders.

 However, I've just realised that FTP doesn't really allow us to verify if
 a folder is writable/deletable without actually trying. It's made harder
 by the fact that FTP exposes permissions differently than the underlying
 filesystem, so it's a potentially difficult situation. We could certainly
 perform it for requests using the `direct` transport (direct file
 operations) though for sure.

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


More information about the wp-trac mailing list