Hi,
I installed shiny-server on aws AMI. When I tried to download file from s3 using
system("s3cmd get path-to-file")
It failed, and gave me the error "ERROR: Skipping path-to-file: Permission denied". However when I asked only to list files, such as
system("s3cmd ls path-to-file")
it was working fine. Also when I was downloading files from terminal or rstudio server or R console (installed on the same AMI) it could also download. So I assume it was due to some shiny-server permission issue. I changed the "run as" to root, but it still failed to download.
Could anyone have some suggestions on this?
Thanks a lot!