Make sure new JAR is readable

This commit is contained in:
Jamie Cameron
2022-04-13 21:31:55 -07:00
parent 59989c888c
commit 8adb861694

View File

@ -68,5 +68,6 @@ $out =~ /ZIP|JAR/i || &error($text{'versions_efmt'});
# Check for a clash, and write the file # Check for a clash, and write the file
-r $dest && &error($text{'versions_eclash'}); -r $dest && &error($text{'versions_eclash'});
&copy_source_dest($temp, $dest); &copy_source_dest($temp, $dest);
&set_ownership_permissions(undef, undef, 0755, $dest);
&webmin_log("addversion", undef, $ver); &webmin_log("addversion", undef, $ver);
&redirect("list_versions.cgi"); &redirect("list_versions.cgi");