commit | d2c7d4e92b665cb6dafe654e51a0b5baa487e6ed | [log] [tgz] |
---|---|---|
author | Paul Ferrell <pflarr@sourceforge.net> | Sat Nov 06 19:28:10 2010 -0700 |
committer | Guy Harris <guy@alum.mit.edu> | Sat Nov 06 19:28:10 2010 -0700 |
tree | b25db2ed8e7c1153db977eeaaba1260fd4d17373 | |
parent | 91021f01abf7ea39e05698b60d10ff584a719290 [diff] |
Switch user ID/root directory with -Z before opening savefiles for output. In addition to Paul's change, I added a comment explaining why we do this, and explaining that doing so after opening the first savefile doesn't help with subsequent savefiles, so you'll have to come up with a better fix if you want the savefiles opened by the original UID or outside the chroot. Reviewed-By: Guy Harris <guy@alum.mit.edu>