Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#54477 new enhancement

wp-cli vague: "Warning: Could not create directory."

Reported by: gunterer Owned by:
Milestone: 6.0 Priority: normal
Severity: minor Version: 5.8
Component: Upgrade/Install Keywords: needs-patch
Focuses: Cc:

Description

originally from
https://github.com/wp-cli/wp-cli/issues/3255#issuecomment-336900561

When using wp-cli the error output from wordpress which states "Could not create directory." should also include the directory that was attempted to create, ideally as an absolute non-relative path name.

This is needed so that users do not have to resort to opening up permissions on all files and directories, even if temporarily.

Change History (1)

#1 @SergeyBiryukov
2 months ago

  • Component changed from Text Changes to Upgrade/Install
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 6.0
  • Type changed from feature request to enhancement

Hi there, welcome to WordPress Trac! Thanks for the ticket.

Just noting that there are three different instances of the "Could not create directory" message in core. Indeed, it makes sense to include the directory name in all of them.

Note: See TracTickets for help on using tickets.