Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sood1992

macrumors newbie
Original poster
Jul 27, 2012
9
0
Hello,



I've about 30 HDD and SSDs and I recently got my Macbook 14 M1, I'm running Ventura OS.



Whenever I delete a file or a folder and empty the recycle bin, it shows me an error - the operation can’t be completed because the item “100CANON” is in use.



I've tried deleting on other Mac's and it happens without the error. I've tried reinstalling the OS also using the recovery mode but still the same issue.


In the trash bin, when I right click a folder and click Delete Immediately it shows the following error



The operation can’t be completed because some items had to be skipped. For each item, choose File > Get Info, make sure “Locked” is deselected, and then check the Sharing & Permissions section. When you are sure the items are unlocked and not designated as Read Only or No Access, try again.


How can I fix this, please help me
 
Hello,



I've about 30 HDD and SSDs and I recently got my Macbook 14 M1, I'm running Ventura OS.



Whenever I delete a file or a folder and empty the recycle bin, it shows me an error - the operation can’t be completed because the item “100CANON” is in use.



I've tried deleting on other Mac's and it happens without the error. I've tried reinstalling the OS also using the recovery mode but still the same issue.


In the trash bin, when I right click a folder and click Delete Immediately it shows the following error



The operation can’t be completed because some items had to be skipped. For each item, choose File > Get Info, make sure “Locked” is deselected, and then check the Sharing & Permissions section. When you are sure the items are unlocked and not designated as Read Only or No Access, try again.


How can I fix this, please help me
i seem to recall this issue on a 27" i MAC (late 20150) I had. I think it had something to do with the item being in a backup on my Time Machine disk. I finally wiped my Time Machine backup , deleted the folder, and then ran another backup immediately. i am not sure this addresses your problem or would be your solution, but in my case it worked. Good luck with it.
 
I'm getting those irritating messages when I try to delete files from exFAT drives. I too have to use another OS to delete the files completely.
 
Whenever I delete a file or a folder and empty the recycle bin, it shows me an error - the operation can’t be completed because the item “100CANON” is in use.

Well, if I thought the file was really in use, I'd try this process in Terminal.app:

lsof | grep "100CANON"

That command can take a minute or two to run! Be patient. If nothing prints out, then the file is apparetly not really "open." If the file is found to be open, a line will print identifying the process that is using the file. The second column is the PID of the process. Use that PID in another command:

ps -p PID

...where you need to replace PID with whatever number was displayed by the 'lsof' output.

The output of the 'ps' should tell you the command that the process is running (look under the CMD heading). That might give you a clue as to what program is keeping the file open.

For example, I looked for what command was keeping a file called "foo6789" open and got this result:

Code:
brian@imac:~(0)$ lsof | grep "foo6789"
vim       80108 brian    4u      REG                1,6     778240         12896656900 /Users/brian/.foo6789.swp
brian@imac:~(0)$ ps -p 80108
  PID TTY           TIME CMD
80108 ttys000    0:00.32 vi foo6789
brian@imac:~(0)$

This shows the command was "vi foo6789".
Good luck!
 
rishabhsood@Rishabhs-MacBook-Pro ~ % lsof | grep "Clip"
rishabhsood@Rishabhs-MacBook-Pro ~ %


Doesnt print anything
 
I see. Apparently there's a difference between "files opened by processes" (that's what the documentation for 'lsof' says) and files "in use" (what your error message says. I didn't expect that.

However, I should have mentioned that the 'grep' command as I posted is case-sensitive. So it will only report filenames containing "Clip" and not filenames containing "clip". If you're not sure about what capitalization to search for, you could replace grep "Clip" with grep -i "clip" to make the search case insensitive. But I'm assuming you used the correct capitalization, in which case I don't have another idea at the moment, unfortunately. :(
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.