amazon web services - How to use commands in AWS EC2 elastic beanstalk -
i trying fix problem have program uploaded aws in elastic beanstalk tomcat. found seems have had similar problem, can't find execute solution.
aws ec2 tomcat permission denied creating/writing file
the answer said should use following commands:
chmod o+x /home chmod o+x /home/ec2-user i want see if fix problem, have looked everywhere , have found no information regarding put these commands.
is problem fixed if run commands manually? (i.e. eb ssh instance , sudo chmod o+x /home sudo chmod o+x /home/ec2-user)
if so, automate running commands using eb extension file. documentation here this:
.ebextensions/01-fix-permissions.config
commands: fix_home_permissions: command: "chmod o+x /home" fix_ec2user_permissions: command: "chmod o+x /home/ec2-user"
Comments
Post a Comment