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.
In reply to Re: Copying File Structure, then Removing
by BrowserUk
in thread Copying File Structure, then Removing
by monarch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |