path: root/lib
diff options
authorMatthew Booth <>2010-10-28 15:17:21 +0100
committerRichard W.M. Jones <>2010-10-28 16:05:09 +0100
commit3b870aa9f9865754119e32cf3ff6beb154b4d9df (patch)
tree850cc2d9d4c3718dec2ea6f052f31924d3ea0283 /lib
parentf6e12eccb65bef3eb57631e54199d8b1610e7c5c (diff)
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')
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 @@