---
title: I got a Permission Denied error when running a SnapShooter backup.
description: Either remount the tmp folder with exec permissions or set the backup engine to use the home directory instead.
product: Support
url: https://docs.digitalocean.com/support/i-got-a-permission-denied-error-when-running-a-snapshooter-backup./
last_updated: "2023-09-20"
---

> **For AI agents:** The documentation index is at [https://docs.digitalocean.com/llms.txt](https://docs.digitalocean.com/llms.txt). Markdown versions of pages use the same URL with `index.html.md` in place of the HTML page (for example, append `index.html.md` to the directory path instead of opening the HTML document).

# I got a Permission Denied error when running a SnapShooter backup.

SnapShooter’s backup scripts run from the `tmp` folder. If your `tmp` folder is mounted with the `NOEXEC` flag, bash is not allowed to run the script, causing an error:

```
/bin/bash: /tmp/rclone-aws Permission Denied
```

To fix this error, you can remount the `tmp` directory with exec permissions:

```shell
mount -o remount exec /tmp
```

Alternatively, in SnapShooter, you can set the backup engine to use the user’s home directory as a target location instead of the `tmp` directory by editing the server connection.

## Related Topics

[How do I back up my app on App Platform?](https://docs.digitalocean.com/support/how-do-i-back-up-my-app-on-app-platform/index.html.md): App Platform does not support backups, but you can use DigitalOcean Managed Databases to back up your data.

[How do I back up Spaces buckets?](https://docs.digitalocean.com/support/how-do-i-back-up-spaces-buckets/index.html.md): Back up a Spaces bucket by copying it to another bucket, downloading it locally, or using a third-party backup tool.