Winter Knight
Group: Members
Posts: 146
Joined: April 2006 |
|
Posted: Aug. 09 2006,19:56 |
|
That script might not work unless you make the following changes:
5. sudo rm -rf home/ tmp/
Because of your change to #3, keeping the same owner, it is possible that files in home and tmp have files belonging to root. If there are, these files won't be deleted, and neither will home and tmp. Then the offending file, home and tmp will be included in the final unc.
I was thinking that 4 might need a sudo as well, but it doesn't. The permissions will be default permissions, which give everyone the right to read, no matter who the owner is.
|