do not chmod symlinks because that will change the target of the symlink and not the symlink itself

pull/1/head
parent d634095da1
commit c6099857e2
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -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: $!";

Loading…
Cancel
Save