Hi team! #file-system I am working a ticket with some Sync questions that WebApp and Client swarm are both stumped on:
Summary: From client - "We've encountered an error when trying to transfer ownership of a directory in our Box environment.
The error stated the operation can't be completed because the directory is a synced root folder. I removed the sync from the folder and then was able to transfer ownership successfully. My questions are:
1. What are the caveats for ownership transfer of a root folder when folder sync is enabled for one or more users in the directory tree?
2. Is sync status on subfolders removed for all users when the ownership transfer of the root folder takes place?"
Ask: I've pulled what info I can from our support pages, but I'm not seeing anything that addresses the above questions directly. Client pulled the following but recommended I come here for further insight:
see this error in the code:This folder could not be moved because it is a synced folder under root.
But I don't understand the flow since the only place that error is raised only does so when the same destination is owned by the same user.
// check sync rules, unless it's a restore action // only need to check if it is for the same user move // If the owner of the item is syncing it and does not have subfolder sync enabled, then no one can move that item out of the user's root folder. // If the item is no longer in the owner's root folder, this requirement doesn't apply.
Sorry for the wall of text, I could use some Sync advice on this one, TIA!