I’m trying to copy some files from one terra gcp bucket to a computational environment that I spin up. I’m trying to use the command (made up bucket id)
gcloud storage cp --recursive "gs://fc-1111-111-1111-111111/module_data/module_1/part2" /home/jupyter
this ins’t the same bucket that the workspace is in, but a bucket I have access to. It works well with RStudio using something like
gcloud storage cp --recursive "gs://fc-1111-111-1111-111111/module_data/module_1/part2" /home/rstudio
I’ve noticed some differences in Rstudio and jupyter in permission access and I have tried stuff like
cd /home/jupyter
mkdir data
chmod -R ug+rw data
gcloud storage cp --recursive "gs://fc-1111-111-1111-111111/module_data/module_1/part2" /home/jupyter/data
chmod -R ug+rw data
Is there a difference using gcloud on Rstudio vs Jupyter? Is there an example of using a start up script using gcloud storage cp
on jupyter?
Thanks!