[wp-trac] [WordPress Trac] #15134: WordPress should not try to remove themes or plugins recursively if the directory is a symlink

WordPress Trac noreply at wordpress.org
Wed Jun 29 00:41:32 UTC 2022


#15134: WordPress should not try to remove themes or plugins recursively if the
directory is a symlink
--------------------------------------------------+-----------------------
 Reporter:  vladimir_kolesnikov                   |       Owner:  pbiron
     Type:  defect (bug)                          |      Status:  accepted
 Priority:  normal                                |   Milestone:  6.1
Component:  Upgrade/Install                       |     Version:
 Severity:  blocker                               |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:
--------------------------------------------------+-----------------------
Changes (by jqz):

 * severity:  critical => blocker


Comment:

 Setting the symlink target to read-only doesn't help.  The stupid
 WordPress update recurses the directories and deletes the files
 individually.

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


More information about the wp-trac mailing list