Synu.copy fails when copying a file with READ permissions

Activity

Show:
Thomas Yu
November 15, 2019, 11:02 PM

, we validated.

Kenneth Daily
October 28, 2019, 11:19 PM

This should output a message why the file wasn't copied

Thomas Yu
March 3, 2019, 5:12 PM
Edited

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.

Meredith Slota
March 1, 2019, 5:25 PM

– 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.

Fixed

Assignee

Thomas Yu

Reporter

Thomas Yu

Labels

Validator

Kenneth Daily

Development Area

None

Release Version History

None

Slack Channel

None

Fix versions

Priority

Major