sudo(cmd, user="user")  

run help for the sudo command like so:

fab help:op=sudo


-allan


Dan Fairs wrote:
> Hi,
>
> Is it possible to specify a user id for the sudo() command? On our app
> server, files are actually owned by an app-specific account, not root
> - so for deployment, it would be handy to be able to specify the user
> to sudo 'to'.
>
> If not, I guess I can work around by doing a big fat 'chown' at the
> end of the process, but it's not ideal. (I'd probably try to fork and
> fix the github master).
>
> Cheers,
> Dan
>
> -- 
> Dan Fairs <[email protected]> | http://www.fezconsulting.com/
>
>
>
> _______________________________________________
> Fab-user mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/fab-user



_______________________________________________
Fab-user mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to