X-Git-Url: https://git.p6c8.net/selfforum.git/blobdiff_plain/9218fb0859abdc5a09758bed809b26902ae179d6..8bd9a0d82f7e21d9340a4470258e2cad2638deca:/selfforum-cgi/shared/Arc/Archive.pm diff --git a/selfforum-cgi/shared/Arc/Archive.pm b/selfforum-cgi/shared/Arc/Archive.pm index 9e6694b..9e3ccb9 100644 --- a/selfforum-cgi/shared/Arc/Archive.pm +++ b/selfforum-cgi/shared/Arc/Archive.pm @@ -181,9 +181,9 @@ sub cut_tail ($) { my $monthpath = $monthdir . '/'; my $file = $monthpath . "t$tid.xml"; - mkdir $yeardir unless (-d $yeardir); + mkdir $yeardir, 0777 unless (-d $yeardir); if (-d $yeardir) { - mkdir $monthdir unless (-d $monthdir); + mkdir $monthdir, 0777 unless (-d $monthdir); if (-d $monthdir) { save_file ( $file,