How to restore from Time Machine manually: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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 restor...") |
|||
Line 5: | Line 5: | ||
=== The Aftermath === | === 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 [[ACL]]s in place: | After the restore all files are read-only. After trying to set permissions, removing <tt>uchg</tt> and <tt>schg</tt> (which didn't do the trick), I finally noticed there are [[ACL]]s in place: | ||
WroDos-MacBook-Air:iTunes heiko$ ls -le | WroDos-MacBook-Air:iTunes heiko$ ls -le | ||
[…] | […] | ||
drwxr-x---@ 1910 heiko staff 64940 22 Jul 10:20 iTunes Music | 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 | <b>0</b>: 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 115407773 9 Aug 19:43 iTunes Music Library.xml | ||
-rw-r--r--@ 1 heiko staff 8 9 Aug 19:58 sentinel | -rw-r--r--@ 1 heiko staff 8 9 Aug 19:58 sentinel |
Revision as of 21:10, 10 August 2014
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$
- Footnotes
- ↑ If you don't know how to do this, better don't try it!