Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 46ef09e6c34b2d3fff2cfeab16f0c77f > files > 24

webmin-2.013-1.mga9.src.rpm

Index: webmin-1.984/maketemp.pl
===================================================================
--- webmin-1.984/maketemp.pl
+++ webmin-1.984/maketemp.pl	2021-12-26 22:08:39.986701695 +0100
@@ -5,7 +5,7 @@
 
 while($tries++ < 10) {
 	local @st = lstat($tmp_dir);
-	exit(0) if ($st[4] == $< && (-d _) && ($st[2] & 0777) == 0755);
+	exit(0) if ($st[4] == $< && (-d _));
 	if (@st) {
 		unlink($tmp_dir) || rmdir($tmp_dir) ||
 			system("/bin/rm -rf ".quotemeta($tmp_dir));
Index: webmin-1.984/web-lib-funcs.pl
===================================================================
--- webmin-1.990/web-lib-funcs.pl.orig	2022-03-03 15:57:48.219567394 -0500
+++ webmin-1.990/web-lib-funcs.pl	2022-03-03 15:58:16.327172599 -0500
@@ -366,8 +366,7 @@ else {
 		my $mkdirerr;
 		while($tries++ < 10) {
 			my @st = lstat($tmp_dir);
-			last if ($st[4] == $< && (-d _) &&
-				 ($st[2] & 0777) == 0755);
+			last if ($st[4] == $< && (-d _));
 			if (@st) {
 				unlink($tmp_dir) || rmdir($tmp_dir) ||
 					system("/bin/rm -rf ".