+if [ "$(id -u)" = '0' ]; then
+ # permission errors an everything
+ testfailure aptget update
+
+ find aptarchive/dists -name '*Packages*' -type f | while read file; do
+ chmod 777 "$file"
+ done
+ # permission errors on Release
+ testwarning aptget update
+fi
+
+#everything (too) permissive
+find aptarchive/ -type f | while read file; do
+ chmod 777 "$file"
+done
+find incoming/ -type f | while read file; do
+ chmod 777 "$file"
+done