diff options
author | Matthew Booth <mbooth@redhat.com> | 2010-10-28 15:17:21 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-10-28 16:05:09 +0100 |
commit | 3b870aa9f9865754119e32cf3ff6beb154b4d9df (patch) | |
tree | 850cc2d9d4c3718dec2ea6f052f31924d3ea0283 /lib/.gitignore | |
parent | f6e12eccb65bef3eb57631e54199d8b1610e7c5c (diff) | |
download | febootstrap-3b870aa9f9865754119e32cf3ff6beb154b4d9df.tar.gz febootstrap-3b870aa9f9865754119e32cf3ff6beb154b4d9df.tar.xz febootstrap-3b870aa9f9865754119e32cf3ff6beb154b4d9df.zip |
Add -u and -g options to febootstrap-supermin-helper
Bash automatically resets euid to uid when it executes. This means that the
effective user id of a program at the point it calls febootstrap-supermin-helper
will be lost if any part of execution chain involved bash. This in turn can
result in:
* the generation of an incorrect checksum, which contains the uid.
* the generation of supermin files with a mixture of owners
The -u and -g options allow the caller to pass in an explicit user and group to
run as. febootstrap-supermin-helper will set(u|g)id as appropriate.
Diffstat (limited to 'lib/.gitignore')
-rw-r--r-- | lib/.gitignore | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/.gitignore b/lib/.gitignore index 3dcbcf7..c76f105 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -132,3 +132,13 @@ /hash-pjw.c /hash-pjw.h /sys_wait.in.h +/getopt.c +/getopt.in.h +/getopt1.c +/getopt_int.h +/inttypes.h +/inttypes.in.h +/xstrtol-error.c +/xstrtol.c +/xstrtol.h +/xstrtoul.c |