How to restore from Time Machine manually

From Wurst-Wasser.net
Revision as of 21:14, 10 August 2014 by Heiko (talk | contribs) (→‎The Aftermath)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

After I went thru some trouble restoring my iTunes Library, I wanted to document this for all out there that have the same trouble.

The Restore

The actual restore is that simple I won't describe it here.[1]

The Aftermath

After the restore all files are read-only. After trying to set permissions, removing uchg and schg (which didn't do the trick), I finally noticed there are ACLs in place:

WroDos-MacBook-Air:iTunes heiko$ ls -le
[…]
drwxr-x---@ 1910 heiko  staff      64940 22 Jul 10:20 iTunes Music
0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown
-rw-r--r--@    1 heiko  staff  115407773  9 Aug 19:43 iTunes Music Library.xml
-rw-r--r--@    1 heiko  staff          8  9 Aug 19:58 sentinel
WroDos-MacBook-Air:iTunes heiko$ 

The solution is simple:

WroDos-MacBook-Air:iTunes heiko$ chmod -R -a# 0 iTunes\ Music
WroDos-MacBook-Air:iTunes heiko$ 

That removes all ACLs from the folder.


  • Footnotes
  1. If you don't know how to do this, better don't try it!