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.

Upcoming Events

    CheckMates Events