Script execution on Linux target fails with “Permission Denied” even when executed as root.
Script execution on Linux target fails with “Permission Denied” even when executed as root.
Challenge
When interacting with Linux servers, Veeam Backup & Replication may encounter a “Permission Denied” error during script execution (Pre-freeze, post-thaw, and repository data mover agent scripts), even when the account being used is the root user.
Cause
All script files are uploaded to and executed from /tmp, which may be mounted with the “noexec” attribute.
Solution
Execute this command:
mount | grep noexec | grep tmp
Example:
If there is an entry for the mount point /tmp with the attribute noexec the fstab will need to be edited to remove this attribute.
More information
Further information regarding mounting attributes and the fstab file can be found here: