force fixing the chmod of directories
This commit is contained in:
parent
b0fe5b34ae
commit
9adc8da925
|
@ -190,7 +190,11 @@ 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 => "0700", owner => $user });
|
||||
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;
|
||||
}
|
||||
|
||||
if ( ! -e $old_file ) {
|
||||
|
|
Loading…
Reference in New Issue