– it SHOULD fail here (because if you don't have permission to download a file, you don't have permission to copy it, do you?) but perhaps we can fail better here? I'm wondering if this is a "Won't Fix" but will leave it to Kim to weigh in.
I don’t think it should fail, it just shouldn’t be copied. When you have read only permissions, you can still get the metadata of the file, (you can still perform a syn.get operation). Basically when I’m doing a copy of contents in a folder, it cannot distinguish which files I have “READ” vs “DOWNLOAD” so it is troublesome if I the operation fails and the code exits without completely copying all of the files it could potentially copy.
This should output a message why the file wasn't copied
, we validated.