I used this recipe to make 2 new AMIs in 2 new accounts, which mostly worked fine, except that the EFS even though it shows that it was rw mounted was not letting me write to it. The fix was to sudo chmod 777 ~/efs once; once I did that, any other new machines made from that AMI no longer had that issue. I tried in the second AMI to switch our current chmod command in efs.sh to sudo chmod 777, but the issue persisted - maybe it needs to be run AFTER the initial mount, though I don't know why? Just wanted to document it here though.
I used this recipe to make 2 new AMIs in 2 new accounts, which mostly worked fine, except that the EFS even though it shows that it was
rw
mounted was not letting me write to it. The fix was tosudo chmod 777 ~/efs
once; once I did that, any other new machines made from that AMI no longer had that issue. I tried in the second AMI to switch our current chmod command inefs.sh
tosudo chmod 777
, but the issue persisted - maybe it needs to be run AFTER the initial mount, though I don't know why? Just wanted to document it here though.