From c6099857e290c08b56534fc65f72a8a0f43479a1 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 3 Oct 2018 09:22:18 +0200 Subject: [PATCH] do not chmod symlinks because that will change the target of the symlink and not the symlink itself --- mmdebstrap | 1 - 1 file changed, 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index ee6ef64..0b3b456 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1044,7 +1044,6 @@ sub setup { die "type 1 not implemented"; } elsif ($type == 2) { # symlink symlink $linkname, "$options->{root}/$fname"; - chmod $mode, "$options->{root}/$fname"; } elsif ($type == 3 or $type == 4) { # character/block special if (!$options->{havemknod}) { open my $fh, '>', "$options->{root}/$fname" or die "cannot open $options->{root}/$fname: $!";