We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc421df commit 0fecbb6Copy full SHA for 0fecbb6
wp-su.sh
@@ -0,0 +1,4 @@
1
+#!/bin/sh
2
+# This is a wrapper so that wp-cli can run as the www-data user so that permissions
3
+# remain correct
4
+sudo -E -u www-data /bin/wp-cli.phar $*
0 commit comments