## 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:

```markup
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](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.

---

## Upcoming Events

- [Under the Hood - Check Point and Illumio – Modern Network Defense Against AI-Based Threats](https://community.checkpoint.com/t5/CheckMates-Events/Under-the-Hood-Check-Point-and-Illumio-Modern-Network-Defense/ev-p/279701)
- [TechTalk: On-Premise SD-WAN Management](https://community.checkpoint.com/t5/CheckMates-Events/TechTalk-On-Premise-SD-WAN-Management/ev-p/279370)
- [The AI Security Report 2026: A Turning Point for Enterprise Defense - AMER](https://community.checkpoint.com/t5/CheckMates-Events/The-AI-Security-Report-2026-A-Turning-Point-for-Enterprise/ev-p/280021)
