Could you apply this patch to /usr/share/apt-cacher/apt-cacher-lib.pl
and see if it helps if you have chmod /var/cache/apt-cacher to
root:root.
Thanks
Mark
diff --git a/apt-cacher-lib.pl b/apt-cacher-lib.pl
index 3138adc..08d7921 100755
--- a/apt-cacher-lib.pl
+++ b/apt-cacher-lib.pl
@@ -127,6 +127,9 @@ sub check_install() {
if (!-d $dir) {
print "Warning: $dir missing. Doing mkdir($dir, 0755)\n";
mkdir($dir, 0755) || die "Unable to create $dir";
+ }
+ if ((stat($dir))[4] != $uid || (stat(_))[5] != $gid) {
+ print "Warning: $dir -- fixing ownership\n";
chown ($uid, $gid, $dir) || die "Unable to set ownership for $dir";
}
}
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]