I recently backed up and subsequently restored a backup of my /home and /etc directories. Unfortunately, I made the mistake of cp -ring the files on and off of an ntfs drive, reverting all permissions to 777 [for anyone thinking of doing this: don't. Use tar]. Is there any way I can restore them to something sane using something like file and a shell script?
|
| |||
|
feedback
|
chmod -R. Also look at this answer as well. – m0skit0 Aug 29 '11 at 8:26