aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt22
1 files changed, 1 insertions, 1 deletions
diff --git a/iurt2 b/iurt2
index 3a8dc3e..c783c7f 100755
--- a/iurt2
+++ b/iurt2
@@ -1454,7 +1454,7 @@ $user ALL=(ALL) NOPASSWD:RPM
close $f;
plog("adding sudo for /bin/rpm, /usr/sbin/urpmi and /usr/sbin/urpme");
- my $ret = sudo($run, $config, '--cp', $tmpfile, $file);
+ my $ret = sudo($run, $config, '--cp', '--umask', 0337, $tmpfile, $file);
unlink $tmpfile;
if (!$ret) {