Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
samuelwonge
Explorer

Shiftleft setup in Gitlab - permission denied db.json.tmp

Hi,

 

I am trying to setup Shiftleft IaC-assessment in my gitlab pipeline. However, I am encountering below error:

open /tmp/ShiftLeft-prod/db.json.tmp: permission denied. 

 

I have followed the steps according to this - https://secure.dome9.com/v2/shiftleft/onboarding-shiftleft

 

I tried granting permission to this path/file but still it hits the same error each time pipeline is ran. Any idea on how I can resolve this?

0 Kudos
1 Reply
Art_Zalenekas
Employee
Employee

It looks like it's your executing user's permission to the mount point of /tmp/.
Look at your mount point permissions as well as user's permissions writing to the /tmp/ mount point. In case you need to elevate your permissions/roles, use sudo and execute shiftleft binary that way.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events