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...") |
|||
(2 intermediate revisions by the same user not shown) | |||
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 | ||
Line 19: | Line 19: | ||
WroDos-MacBook-Air:iTunes heiko$ <b>chmod -R -a# 0 iTunes\ Music</b> | WroDos-MacBook-Air:iTunes heiko$ <b>chmod -R -a# 0 iTunes\ Music</b> | ||
WroDos-MacBook-Air:iTunes heiko$ | WroDos-MacBook-Air:iTunes heiko$ | ||
That removes all [[ACL]]s from the folder. | |||
---- | ---- | ||
* Footnotes | * Footnotes | ||
<references/> | <references/> | ||
[[Category:FAQ]] | |||
[[Category:Mac OS X]] |
Latest revision as of 21:14, 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$
That removes all ACLs from the folder.
- Footnotes
- ↑ If you don't know how to do this, better don't try it!