X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fdebian%2Fbyhand-di;h=67db55168ae5f16852447413a94ac418314aad2d;hb=ba4056eaffdde2acaf8c6281cf8ba4b3e1da2bd5;hp=0a004f3899956e22e4f0580dc2f56c126b945879;hpb=2764c503d2f9c2177873f861c9dad76bcd2c04ca;p=dak.git diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index 0a004f38..67db5516 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -95,6 +95,10 @@ mv "$TMPDIR/installer-$ARCH/current" "$TARGET" find "$TARGET/$VERSION" -type d -exec chmod 755 {} + find "$TARGET/$VERSION" -type f -exec chmod 644 {} + +# Make sure nothing symlinks outside of the ftpdir +# Shouldnt happen, but better be sure. +symlinks -d -r /srv/ftp.debian.org/ftp + trap - EXIT cleanup