Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mike_hasarms's avatar

Ubuntu user setup for Envoyer?

I have a non-Forge server on Ubuntu 20 with Nginx and PHP-FPM. It's working, but I'm trying to setup Envoyer for deployments to it.

My Ubuntu user can write to /var/www/PROJECT but it needs the sudo command to do so. The directory is owned by www-data

Envoyer deployments fail because of a permissions issue. It can connect to the server, but the commands fail.

Should I be doing something to my Ubuntu user so that it can write to directories owned by www-data without needing to sudo the command?

0 likes
0 replies

Please or to participate in this conversation.