- CheckMates
- :
- Products
- :
- Developers
- :
- DevSecOps
- :
- Re: Shiftleft setup in Gitlab - permission denied ...
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
