On Sun, Apr 06, 2008 at 07:28:51AM -0400, Haines Brown wrote: > I'be brought up my backup script for discussion before, and folks where > helpful in solving a problem, but the solution created another.
I did not read it... > Now all > files backed up have their ownerships changed to me, brownh:brownh. > > Here's the old script, which had the problem that output was going to a > mail message that quickly exceeded system limits, and then caused the > backup process to terminate: Is this cron script? Why "mail"? > find / -print | egrep -v "^/media|^/proc|^/sys|^/mnt" | cpio -pdmuv > /media/mirror/"$dirName" > 2>&1 | cat -vt I do not understand first ">" > Here's the new script which only sends an error message: > > find / -print | egrep -v "^/media|^/proc|^/sys" | cpio -pdmuv > /media/mirror/"$dirName" 2>&1 | cat -vT >/home/brownh/.backup.log > > However, it seems to convert ownership of all files backed up to > brownh:brownh. >From what account did you run this/ * root from real root * root from sudo * account brownh If last, files are owned by brownh. That is how it sould be. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]