summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-17 23:08:27 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-17 23:09:05 +0200
commit930b12e29819ffb1d4b38365315919fbe004cf3b (patch)
treea46d507629aece40f9903b1b8465f6032cd2f9f0
parent4fb81a7e92d0cd6d854a4a020f34b948ad6ce29b (diff)
fakeroot: set FAKED_MODE
* utils/fakeroot.sh (FAKED_MODE): Set to unknown-is-root.
-rw-r--r--utils/fakeroot.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/fakeroot.sh b/utils/fakeroot.sh
index 7bc5dc73..daf18e77 100644
--- a/utils/fakeroot.sh
+++ b/utils/fakeroot.sh
@@ -54,6 +54,9 @@ if [ $# -eq 0 ]; then
set -- ${SHELL:-/bin/sh}
fi
+FAKED_MODE="unknown-is-root"
+export FAKED_MODE
+
# We exec settrans, which execs the "fakeauth" command in the chroot
# context provided by /hurd/fakeroot.
exec /bin/settrans \