ruby on rails - Elastic Beanstalk ebextensions permissions errors -


i running amazon linux ami ruby + puma elastic beanstalk setup. however, repeatedly running issues suspect related permissions.

i tried change timezone of linux instance. using following config:

packages:  yum:     git: []     postgresql95-devel: []     gcc-c++: []     make: []     tcl: [] sources:   /home/ec2-user: http://download.redis.io/releases/redis-3.2.7.tar.gz commands:   0000_remove_localtime:     command: rm -rf /etc/localtime   0000_link_singapore_timezone:     command:       - ln -f -s /usr/share/zoneinfo/asia/singapore /etc/localtime 

i got code updating timezone various sources, namely , amazon documentations, however, when deploy following config, deployment fails completely.

upon appending sudo ln -f -s /usr/share/zoneinfo/asia/singapore /etc/localtime, deployment worked perfectly.

my question is, know why case? else seems executing ln -f -s /usr/share/zoneinfo/asia/singapore /etc/localtime without sudo fine. case, fails until change command sudo ln -f -s /usr/share/zoneinfo/asia/singapore /etc/localtime.

if shed light on topic, let me know.

ps: reason suspected encountering permission issues deployment because had ssh instance, run chmod -r 1777 /var/app/current in order make deployment succeed.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -