mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Make sure new JAR is readable
This commit is contained in:
@ -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'});
|
||||||
©_source_dest($temp, $dest);
|
©_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");
|
||||||
|
Reference in New Issue
Block a user