question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

app/generateAllureReport.sh: line 56: /app/allure-docker-api/static/projects/default/results/executor.json: Permission denied

See original GitHub issue

Latest docker image gives below errors allure_1 | /app/generateAllureReport.sh: line 56: /app/allure-docker-api/static/projects/default/results/executor.json: Permission denied cp: cannot create directory '/app/allure-docker-api/static/projects/default/results/history': Permission denied

Its NOT reloading when new results generating.I have to restart the service to see new results. I’m using Ubuntu 18.04

below is my docker-compose.yml version: ‘3’ services: allure: image: “frankescobar/allure-docker-service” environment: CHECK_RESULTS_EVERY_SECONDS: 1 KEEP_HISTORY: “TRUE” ports: - “4040:4040” - “5050:5050” volumes: - ./allure-results:/app/allure-results

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
noamgreencommented, Apr 25, 2021

HI in kube add this to the

spec: template: … some metadata: … some spec: securityContext: runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000

when you use PVC you will get default kube permissions as " root " add “fsGroup: 1000”

Thansk

0reactions
VovaPavlyukcommented, May 19, 2022

You can set the deployment to run as root (which is not very good), but this will solve this problem

          securityContext:
            runAsUser: 0
            runAsGroup: 0
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Shell Script Permission Denied Error in Linux
To fix the permission denied error in Linux, one needs to change the file permission of the script. Use the “chmod” (change mode)...
Read more >
javascript - Firebase Permission Denied - Stack Overflow
I'm relatively new to coding and am having trouble. I have this code to send data to firebase app.userid = app.user.uid ...
Read more >
Container permission denied: How to diagnose this error
Learn what is causing a container permissions error and how to work around the issue without resorting to the --privileged flag.
Read more >
Permission denied when running .sh scripts - Ask Ubuntu
When we make a new script file then by default it has read and write permission. But if we want to execute them,...
Read more >
How To Resolve Permission Denied Error On Ubuntu/Debian?
Linux is a community of open-source Unix-like operating systems that are based on the Linux Kernel. Linux distributions are constructed in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found