cytomining / cytominer-vm

[DEPRECATED] Packer scripts to create VMs for running image-based profiling workflows on a cluster
MIT License
2 stars 2 forks source link

EFS not giving write access initially #7

Open bethac07 opened 2 years ago

bethac07 commented 2 years ago

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.