From: Michael Vogt Date: Thu, 25 Sep 2014 09:39:16 +0000 (+0200) Subject: Use /var/empty as the homedir for _apt X-Git-Tag: 1.1.exp4~56 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/b98232208f580e7b2677af87fb22d21f61a0509a?hp=47d278dc7184606f751d015689e0c49eccde4547 Use /var/empty as the homedir for _apt Thanks to Axel Beckert --- diff --git a/debian/apt.postinst b/debian/apt.postinst index fab026504..a538abde9 100644 --- a/debian/apt.postinst +++ b/debian/apt.postinst @@ -27,8 +27,8 @@ case "$1" in fi # add unprivileged user for the apt methods - adduser --force-badname --system --no-create-home \ - --quiet _apt || true + adduser --force-badname --system -home /var/empty \ + --no-create-home --quiet _apt || true chown -R _apt:root \ /var/lib/apt/lists \ /var/cache/apt/archives