Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP-CLI cannot write to its own cache directory #651

Open
johnbillion opened this issue Nov 15, 2023 · 1 comment
Open

WP-CLI cannot write to its own cache directory #651

johnbillion opened this issue Nov 15, 2023 · 1 comment
Labels
bug Existing functionality isn't behaving as expected

Comments

@johnbillion
Copy link
Member

With a vanilla Altis local-server configuration, WP-CLI doesn't have permission to write to its own cache directory. This results in warnings when running a WP-CLI command that would normally cause it to write to its cache.

Steps to reproduce

  1. Set up an Altis local-server site
  2. Run composer server cli -- theme install twentytwenty
  3. Observe that the command succeeds but produces a warning about the cache directory not being writable:
Warning: Failed to create directory '/var/www/.wp-cli/cache/': mkdir(): Permission denied.
@johnbillion johnbillion added the bug Existing functionality isn't behaving as expected label Nov 15, 2023
@johnbillion
Copy link
Member Author

Same issue reported here: WordPress/wpdev-docker-images#122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected
Projects
None yet
Development

No branches or pull requests

1 participant