A word to Karen: if you do any of the tarish things discussed in this thread, be certain to delete the backup archive, after it has completed its transit. /tmp is only cleared on reboot, and that usually only happens 1.5 times per year. On Mon, 27 Sep 2004, Janina Sajka wrote: > Yes, this is useful. It's probably beyond what she needs to be concerned > about, but certainly useful. > > Luke Davis writes: >> On Mon, 27 Sep 2004, Janina Sajka wrote: >> >>> 600 certainly does help. Can you build a tar and chmod at the same time? >> >> Hmm, an interesting question. There are two ways to test this idea, which >> I will now attempt... >> >> Starting the tar process in one window (using screen), and in another >> listing the file in /tmp, shows, 644. Doing a chmod to 600, while the tar >> is still in progress, then listing the file again, shows 600. So that >> solution appears to work, as would, of course, backgrounding the tar >> process, and changing the mode. >> >> The other method: >> >> touch /tmp/ldtf.tbz >> chmod 600 /tmp/ldtf.tbz >> tar --bzip2 -cf /tmp/ldtf.tbz ~/ >> >> also acomplishes the task of keeping the file private, so I suppose the >> answer is yes, in all possible ways.