Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    With which authorizations wp cli runs always depends strongly on the local system. Depending on how you have designed it, different things are necessary.

    However, the recommendation is to always run wp cli with the user that is used for the specific Vhost. In your case, this appears to be apache. This is therefore also the way you should go. I also work this way.

    @richardkentgates the wp info output is not available anymore. Normally you need permissions 0755 and install the .phar file as /usr/local/bin/wp.
    then you need to switch to a given OS account e.g.
    su your_site_user
    then you can safely run commands such wp plugin list

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp cli permissions’ is closed to new replies.