https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2IyMDk5IiwiaGFzaCI6ImQzNTE3Y2QwLWE2YjEtNDAzOS04NmE1LTZjMTc4YzM0ODE3YyJ9
1-800-691-1991 | 9am - 8pm ET
EN

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 may be mounted with the “noexec” attribute.

Solution

Execute this command:
mount | grep noexec | grep tmp
 
Example:

User-added image

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:

http://linux.die.net/man/8/mount
http://linux.die.net/man/5/fstab

 
KB ID:
2099
Product:
Veeam Backup & Replication
Version:
8.x
Published:
2016-02-15
Last Modified:
2020-08-13
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later