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
2363
February 15, 2022
Shell script not executing fully but don't see non zero exit code
Packer
8
4097
September 18, 2020
Provisioner shell script does not execute when execute_command is present
Packer
testing
0
1178
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
1232
July 9, 2020
AWS instance with only custom shell as ssh user
Packer
0
400
October 3, 2019