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.". enter image description here

I've changed file permissions to rwxrwxrwx and ACL permissions to Read & Write but still doesn't work.

enter image description here

I like to understand what is going underneath. Why those files can not being moved when OneDrive is not running. I appreciate your help!

  • have you found a solution yet? I've just discovered after recently leaving my old job that I can't delete any directories from my OneDrive Business account on a personal machine. I found this solution over on the Apple forums but honestly don't have the time and energy to attempt it: discussions.apple.com/thread/250913183 – electricbrickco Dec 6 '19 at 14:28
  • @electricbrickco I doubt that OneDrive files come under SIP protection. OP: Also note that the files' opening app is OneDrive launcher.app. I don't know what to make of it. – ankii Dec 6 '19 at 15:43
  • @electricbrickco I haven't figure out how it works. If I remember correctly I tried the method in the link before and at that time it doesn't work. – theJian Dec 6 '19 at 15:47

I had the same issue and had luck with the following:

Instead of dragging the folder, try to simply right click and copy from one location and then paste into the new location (one drive).

Hope this works for you as it has for me.

  • 1
    nah.. just tried. I can't copy-paste from OneDrive to Disk, neither from OneDrive to OneDrive. – ankii Dec 6 '19 at 16:22

I had the same problem. What worked for me was the open the source file, which probably triggered the on-demand download. Then I was able to move/copy it elsewhere.

You could probably also go to OneDrive Preferences and click "Turn Off Files On-Demand"

  • "Turning Off Files On-Demand" worked for me. Thanks! – Mikolaj Jan 11 at 12:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .