I am trying to get rid of all backups of XCode.app in my Time Machine backup. When I enter Time Machine and select "Delete all Backups of XCode" in the context menu, it shows some deletion progress in the Finder and DesktopServiceHelper is busy for a moment until it displays the following error message:

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.

Any idea how this can be solved? I could only find one related thread on Google which didn't provide any helpful information.

  • Is there a reason you can't unlock said file?
    – JMY1000
    Mar 6 '16 at 8:46
  • I'm not sure it's safe to run such a command on the backup. Who knows what Time Machine uses these flags for?
    – Lenar Hoyt
    Mar 6 '16 at 14:42
  • Okay: what file is it that's locked that can't be deleted?
    – JMY1000
    Mar 6 '16 at 22:26
  • @JMY1000 I wished I knew. It must be some file in /Volumes/BackupHD/Backups.backupdb/Lastest/Applications/XCode.app.
    – Lenar Hoyt
    Mar 7 '16 at 12:25
  • I suspect it is in fact a bug in Time Machine. Why would the provided function for deleting backups be dysfunctional when the entire file system in Backups.backupdb is solely managed by Time Machine?
    – Lenar Hoyt
    Mar 7 '16 at 12:27

You must log in to answer this question.

Browse other questions tagged .