Shiftleft setup in Gitlab - permission denied db.j... - Check Point CheckMates
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?
Replies
Art Zalenekas
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.