HashiCorp Discuss
Permission denied on shell script provisioner
Packer
tbugfinder
April 9, 2021, 6:17pm
4
Sometimes /tmp is mounted without exec permission (noexec) or selinux restrictions apply.
1 Like
'Permission denied' to run /tmp/script_nnnn.sh on linux 2023
show post in topic
Related topics
Topic
Replies
Views
Activity
Shell-local required permissions
Packer
5
2563
February 15, 2022
'Permission denied' to run /tmp/script_nnnn.sh on linux 2023
Packer
2
715
August 1, 2025
Shell script not executing fully but don't see non zero exit code
Packer
8
4228
September 18, 2020
Provisioner shell script does not execute when execute_command is present
Packer
testing
0
1196
January 22, 2020
Packer 1.5.4: SSH connection established to AWS EC2 RHEL7 instance but unable to a copy file or run inline shell command
Packer
2
1274
July 9, 2020