file compression

When I attempt to compress a folder I get an error message: "The operation couldn't be completed. Resource deadlock avoided." Any ideas as to what is going on? Thanks.

iMac 27″, macOS 12.1

Posted on Feb 1, 2022 2:52 PM

Reply
Question marked as Top-ranking reply

Posted on Mar 24, 2022 12:32 PM

I figured it out!


My script backs-up critical data to OneDrive.  On the day it stopped working, I enabled a OneDrive feature called "Free Up Space."  I did that to minimize my Time Machine backup size.  I just read a blurb that said OneDrive on Mac began having trouble with this on, wait for it, Jan 30th.  


Once I reversed that, and went back to "Always Keep on This Device," the script works again!

8 replies
Question marked as Top-ranking reply

Mar 24, 2022 12:32 PM in response to o1sowise

I figured it out!


My script backs-up critical data to OneDrive.  On the day it stopped working, I enabled a OneDrive feature called "Free Up Space."  I did that to minimize my Time Machine backup size.  I just read a blurb that said OneDrive on Mac began having trouble with this on, wait for it, Jan 30th.  


Once I reversed that, and went back to "Always Keep on This Device," the script works again!

Feb 16, 2022 2:38 PM in response to SydneyCartonEsq

I encountered this error message when running a script via cron. (completely unrelated to compression of a folder). After upgrading to Monterey 12.2.1, the error message then became "Operation not permitted". Following a quick search, I found that the problem was resolved by changing some settings in Security & Privacy e.g. add cron, terminal to have Full Disk Access.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

file compression

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.