I got a Permission Denied error when running a SnapShooter backup.
Validated on 20 Sep 2023 • Last edited on 6 Feb 2024
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:
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.