OOD 3.1.7: Files App - Error message when uploading files

Hello,

We have just upgraded from v3.0.3 to v3.1.7. When our users upload files, the transfers appear to complete successfully (i.e., checksums match), but they are met with an error message: “Failed to upload filename”. (We were seeing this in v3.0.3 also, but we had also seen a PR that seemed to indicate that it had been addressed.) From what I can see, it appears that the file is first being copied to a temporary directory and is given group ownership that matches the user’s primary group, but then it is relocated to the destination directory as selected by the user, and if the SGID bit is set on the destination with ownership by a different group, the SGID bit is not honored. Is there a fix or workaround for this issue in v3.1.7? (I saw a new PR with a one-line code modification to apps/sys/dashboard/app/controllers/files_controller.rb, but that modification was for v3.1.8, and the code looks quite different than what I see in v3.1.7. v3.1.8 doesn’t seem to be available in the stable repo, or at least it wasn’t when we started our upgrade process.)

Thank you,

Richard England
SMU

Yes there’s some issue with setting the bits of a file under certain conditions. 3.1.8 has bugs in it that break interactive apps - so you shouldn’t pull that down.

I’m working on 3.1.9 right now and will try to get a fix in shortly.

1 Like