WindmillWWindmill
Powered by
mindofbeholderM
Windmill•3y ago•
4 replies
mindofbeholder

Permission denied when piping bash output to the result outputs

Running the below command in a bash script
docker ps -a --format "{{.Names}}" | './result.json'
docker ps -a --format "{{.Names}}" | './result.json'


I'm seeing the following error:
{
    "error": {
        "name": "ExecutionErr",
        "message": "ExitCode: 126, last log lines:\nmain.sh: line 7: ./result.json: Permission denied"
    }
}
{
    "error": {
        "name": "ExecutionErr",
        "message": "ExitCode: 126, last log lines:\nmain.sh: line 7: ./result.json: Permission denied"
    }
}


Regardless of if I pipe to result.json or result.out I get the same error.

I just pulled and updated windmill. Error still occurs.
I'm running windmill in docker containers.
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Getting Empty Output from Bash Script
Trevor SullivanTTrevor Sullivan / help
3y ago
Permission denied error with windmill and supabase
sangle69Ssangle69 / help
3y ago
Permission denied to set role "windmill_admin" on Postgres without superuser
CuBiCCCuBiC / help
14mo ago
Html output from my script for Microsoft OAuth result.
Kaushik VishwakarmaKKaushik Vishwakarma / help
8mo ago