Create a file in DigitalOcean spaces and mark it ‘public’ in manage permissions
Open it in Windows ODrive desktop application
Make changes to the file and hit ‘save’ to trigger odrive sync to DO-Spaces
file on Spaces becomes automatically ‘private’
Manually change permissions to ‘public’ in spaces
save in local one more time
file again automatically switches to ‘private’
If I mark the file to be public, I am INTENDING it to stay public, no?
Just downloaded odrive desktop today and was quite impressed with all other features, except this issue. This is a CRITICAL-SHOWSTOPPER issue for me.
Hi @AlphaJuliet,
I believe the behavior here is expected. There isn’t really an “update” of an object. Instead you are creating a new object with the same object key, so the object is uploaded as not public (the default).
@Tony thank you for the response… that does make sense where you are saying it is actually creating a new object in place of the old one as opposed to a true “update” functionality. As FYI, I explained why I need this functionality in case you want to consider reading and preserving permissions through your api in future.
I am using DigitalOcean Spaces (not Amazon S3) where the policy settings are quite basic (possible that I may be missing something here) and I couldn’t find a default ‘public’ type setting (at least through UI).
I disabled the root level file listing of my ‘space’ (this is so that anyone cannot add files to my spaces), but the individual files under the folders are set as ‘public’ to be able to access these from an external website without needing the key. This is basically serving up the static content templates to a ReactJS front-end.
I am stuck for the time being as this may be more of a DigitalOcean problem than ODrive issue. I will look for alternatives. Thanks for your support!
I haven’t messed with bucket policies for a little while, so I can’t recall if this type of policy would work for your case, but it may be worth a shot.