do not chmod symlinks because that will change the target of the symlink and not the symlink itself
This commit is contained in:
parent
d634095da1
commit
c6099857e2
1 changed files with 0 additions and 1 deletions
|
@ -1044,7 +1044,6 @@ sub setup {
|
||||||
die "type 1 not implemented";
|
die "type 1 not implemented";
|
||||||
} elsif ($type == 2) { # symlink
|
} elsif ($type == 2) { # symlink
|
||||||
symlink $linkname, "$options->{root}/$fname";
|
symlink $linkname, "$options->{root}/$fname";
|
||||||
chmod $mode, "$options->{root}/$fname";
|
|
||||||
} elsif ($type == 3 or $type == 4) { # character/block special
|
} elsif ($type == 3 or $type == 4) { # character/block special
|
||||||
if (!$options->{havemknod}) {
|
if (!$options->{havemknod}) {
|
||||||
open my $fh, '>', "$options->{root}/$fname" or die "cannot open $options->{root}/$fname: $!";
|
open my $fh, '>', "$options->{root}/$fname" or die "cannot open $options->{root}/$fname: $!";
|
||||||
|
|
Loading…
Reference in a new issue