[wp-trac] [WordPress Trac] #54477: wp-cli vague: "Warning: Could not create directory."

WordPress Trac noreply at wordpress.org
Sat Sep 10 14:48:14 UTC 2022


#54477: wp-cli vague: "Warning: Could not create directory."
-------------------------------------------------+-------------------------
 Reporter:  gunterer                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.1
Component:  Upgrade/Install                      |     Version:  5.8
 Severity:  minor                                |  Resolution:
 Keywords:  good-first-bug has-patch has-        |     Focuses:
  testing-info dev-feedback                      |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  good-first-bug has-patch has-testing-info => good-first-bug
     has-patch has-testing-info dev-feedback


Comment:

 @peterwilsoncc I couldn't find the other three appearances you referenced
 before.

 I see the two targeted by
 [https://core.trac.wordpress.org/attachment/ticket/54477/54477.v202204171752.patch
 54477.v202204171752.patch].

 Aside from that, there are these two instances:
 {{{#!php
 // wp-admin/includes/file.php:1924
 return new WP_Error( 'mkdir_failed_copy_dir', __( 'Could not create
 directory.' ), $to . $filename );

 // wp-admin/includes/update-core.php:1524
 return new WP_Error( 'mkdir_failed__copy_dir', __( 'Could not create
 directory.' ), $to . $filename );
 }}}

 However:
 - The latter is planned for removal in #55712.
 - `$to . $filename` = "Path to destination directory" + The key from
 `WP_Filesystem_*::dirlist`, so this doesn't appear to be associated with
 this issue.

 In your opinion, what's the next move for this ticket?

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


More information about the wp-trac mailing list