fix permissions, the chmod was a string

This commit is contained in:
Solene Rapenne 2023-05-05 10:17:18 +02:00
parent 9adc8da925
commit 4504b632ce
1 changed files with 1 additions and 5 deletions

View File

@ -190,11 +190,7 @@ sub create_links {
# recursively create missing directories to hold files
# give ownership to the user and apply chmod 700
if ( ! -e $dirs ) {
make_path($dirs, { chmod => "0750", owner => $user });
# make_path doesn't seem trustable for setting chmod
# maybe an alpine/musl specific bug?
chmod 0750, $dirs;
make_path($dirs, { chmod => 0750, owner => $user });
}
if ( ! -e $old_file ) {