'sudo 0u www-data' -- not working??!!

Colin Law clanlaw at gmail.com
Tue Feb 4 14:26:50 UTC 2025


On Tue, 4 Feb 2025 at 12:40, bruce <badouglas at gmail.com> wrote:
>
> Hi.
>
> Running ubuntu 20.04.
>
> trying to run the cmd:
> sudo -u www-data  -composer create-project  laravel/laravel test

As you have a - in front of composer, it is taking that as a parameter
of sudo.  If composer is a command then drop the -.

Colin L.




More information about the ubuntu-users mailing list