in reply to Copying File Structure, then Removing

Once you've set up the structure chown the files to a different (non-privileged) UID.

Once the install is complete, log in under that other account and do a recursive delete on the files (rm -rf *?) on the chroot'd structure and it will leave behind anything created under the install account.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.