[GH-ISSUE #54] Shannon EACCES: permission denied #18

Closed
opened 2026-02-27 07:20:00 +03:00 by kerem · 4 comments
Owner

Originally created by @HAHARONI on GitHub (Jan 19, 2026).
Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/54

Originally assigned to: @Khaushik-keygraph on GitHub.

Hi, i have issues, i always encountered this error

command to run = ./shannon start URL=https://juice-shop.herokuapp.com/#/ REPO=~/juice-shop

"message": "EACCES: permission denied, mkdir '/app/audit-logs/juice-shop-herokuapp-com_shannon-1768795201756'",
  "source": "TypeScriptSDK",
  "applicationFailureInfo": {
    "type": "Error"
  }

Error: EACCES: permission denied, mkdir '/app/audit-logs/juice-shop-herokuapp-com_shannon-1768795201756'
    at async Object.mkdir (node:internal/fs/promises:855:10)
    at async ensureDirectory (file:///app/dist/audit/utils.js:76:9)
    at async initializeAuditStructure (file:///app/dist/audit/utils.js:165:5)
    at async AuditSession.initialize (file:///app/dist/audit/audit-session.js:54:9)
    at async logPhaseTransition (file:///app/dist/temporal/activities.js:324:5)
    at async Activity.execute (/app/node_modules/@temporalio/worker/lib/activity.js:101:20)
    at async NativeConnection.withAbortSignal (/app/node_modules/@temporalio/worker/lib/connection.js:172:16)
    at async Client.withAbortSignal (/app/node_modules/@temporalio/client/lib/base-client.js:65:16)
    at async /app/node_modules/@temporalio/worker/lib/activity.js:161:32
    at async /app/node_modules/@temporalio/worker/lib/worker.js:725:30
Image Image Image
Originally created by @HAHARONI on GitHub (Jan 19, 2026). Original GitHub issue: https://github.com/KeygraphHQ/shannon/issues/54 Originally assigned to: @Khaushik-keygraph on GitHub. Hi, i have issues, i always encountered this error command to run = ./shannon start URL=https://juice-shop.herokuapp.com/#/ REPO=~/juice-shop ``` "message": "EACCES: permission denied, mkdir '/app/audit-logs/juice-shop-herokuapp-com_shannon-1768795201756'", "source": "TypeScriptSDK", "applicationFailureInfo": { "type": "Error" } ``` ``` Error: EACCES: permission denied, mkdir '/app/audit-logs/juice-shop-herokuapp-com_shannon-1768795201756' at async Object.mkdir (node:internal/fs/promises:855:10) at async ensureDirectory (file:///app/dist/audit/utils.js:76:9) at async initializeAuditStructure (file:///app/dist/audit/utils.js:165:5) at async AuditSession.initialize (file:///app/dist/audit/audit-session.js:54:9) at async logPhaseTransition (file:///app/dist/temporal/activities.js:324:5) at async Activity.execute (/app/node_modules/@temporalio/worker/lib/activity.js:101:20) at async NativeConnection.withAbortSignal (/app/node_modules/@temporalio/worker/lib/connection.js:172:16) at async Client.withAbortSignal (/app/node_modules/@temporalio/client/lib/base-client.js:65:16) at async /app/node_modules/@temporalio/worker/lib/activity.js:161:32 at async /app/node_modules/@temporalio/worker/lib/worker.js:725:30 ``` <img width="2412" height="1032" alt="Image" src="https://github.com/user-attachments/assets/a8181294-0b57-40e4-a7ca-9b04dd9caa16" /> <img width="2414" height="594" alt="Image" src="https://github.com/user-attachments/assets/2f2a3ce4-e00a-4700-9d0b-ed9ea567b916" /> <img width="862" height="39" alt="Image" src="https://github.com/user-attachments/assets/7463fb48-f2dd-44cf-828d-3dfe8c8af5cf" />
kerem closed this issue 2026-02-27 07:20:00 +03:00
Author
Owner

@Bisconcini commented on GitHub (Jan 19, 2026):

Hello, same issue here

{
  "message": "EACCES: permission denied, mkdir '/app/output/127-0-0-1_shannon-1768857141744'",
  "source": "TypeScriptSDK",
  "applicationFailureInfo": {
    "type": "Error"
  }
}

Running on Linux Ubuntu 24.04.

Also, when executing :

./shannon logs ID=127-0-0-1_shannon-1768857141744
ERROR: Workflow log not found for ID: 127-0-0-1_shannon-1768857141744

Possible causes:
  - Workflow hasn't started yet
  - Workflow ID is incorrect

Check: ./shannon query ID=127-0-0-1_shannon-1768857141744 for workflow details

And same error on Windows 11 with Ubuntu WSL

One interesting thing, I set the OUTPUT and REPO variable by command ./shennon URL=......

and always appears that INPUT saying that REPO and OUTPUT is default / isn't set

I've tryed to playaround in Docker files / Compose, to give the the permissions, without success. both in Windows and Linux (first in Win, then installed on my Linux to check if same error)

Image Image
<!-- gh-comment-id:3770149015 --> @Bisconcini commented on GitHub (Jan 19, 2026): Hello, same issue here ``` { "message": "EACCES: permission denied, mkdir '/app/output/127-0-0-1_shannon-1768857141744'", "source": "TypeScriptSDK", "applicationFailureInfo": { "type": "Error" } } ``` Running on Linux Ubuntu 24.04. Also, when executing : ``` ./shannon logs ID=127-0-0-1_shannon-1768857141744 ERROR: Workflow log not found for ID: 127-0-0-1_shannon-1768857141744 Possible causes: - Workflow hasn't started yet - Workflow ID is incorrect Check: ./shannon query ID=127-0-0-1_shannon-1768857141744 for workflow details ``` And same error on Windows 11 with Ubuntu WSL One interesting thing, I set the OUTPUT and REPO variable by command ./shennon URL=...... and always appears that INPUT saying that REPO and OUTPUT is default / isn't set I've tryed to playaround in Docker files / Compose, to give the the permissions, without success. both in Windows and Linux (first in Win, then installed on my Linux to check if same error) <img width="1751" height="780" alt="Image" src="https://github.com/user-attachments/assets/be346eda-105e-43a9-a9ea-58192debfec6" /> <img width="1751" height="780" alt="Image" src="https://github.com/user-attachments/assets/514add44-5cff-4cb9-99a6-53603b10e39e" />
Author
Owner

@HAHARONI commented on GitHub (Jan 20, 2026):

@Bisconcini I have a workaround to solve this issue, what i've try is using docker exec with -u 1000:1000 to log in to your docker worker temporal, then mkdir the app directory

<!-- gh-comment-id:3771439151 --> @HAHARONI commented on GitHub (Jan 20, 2026): @Bisconcini I have a workaround to solve this issue, what i've try is using docker exec with -u 1000:1000 to log in to your docker worker temporal, then mkdir the app directory
Author
Owner

@Bisconcini commented on GitHub (Jan 20, 2026):

Thanks, @HAHARONI !

I was able to solve this as well (by other way). Now I'm figuring ou why my "Claude exited with response 1" or something =)

<!-- gh-comment-id:3773061209 --> @Bisconcini commented on GitHub (Jan 20, 2026): Thanks, @HAHARONI ! I was able to solve this as well (by other way). Now I'm figuring ou why my "Claude exited with response 1" or something =)
Author
Owner

@ajmallesh commented on GitHub (Jan 20, 2026):

Thanks for flagging! This should be fixed with #57 - the container was running as non-root but the bind-mounted directories had incorrect permissions. Pull the latest changes and let us know if you hit any other issues!

<!-- gh-comment-id:3774330041 --> @ajmallesh commented on GitHub (Jan 20, 2026): Thanks for flagging! This should be fixed with #57 - the container was running as non-root but the bind-mounted directories had incorrect permissions. Pull the latest changes and let us know if you hit any other issues!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shannon-KeygraphHQ#18
No description provided.