Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'One way to replace a broken Desktop folder' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
One way to replace a broken Desktop folder
Authored by: bdm on Thu, Oct 11 2007 at 6:20PM PDT
As other posters have pointed out, you probably have more troubles than you realise. However, to comment only on your original suggestion: add the -p switch to cp command so that ownership, permissions and dates are preserved. Then you don't need the chown command.

Brendan.

[ Reply to This | # ]