OneDrive has a feature called "Files On-Demand", I'm playing arround with it and trying to figure out how it works. It looks like OneDrive uses sparse files as placeholders before the really file is downloaded to local. I found that I can't move those sparse files out of the OneDrive folder when OneDrive is not running. The system asked me to enter password to allow this operation then it failed with message "The operation can’t be completed because you don’t have permission to access some of the items.".
I've changed file permissions to rwxrwxrwx
and ACL permissions to Read & Write
but still doesn't work.
I like to understand what is going underneath. Why those files can not being moved when OneDrive is not running. I appreciate your help!