From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/002148.html | 94 ++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/002148.html (limited to 'zarb-ml/mageia-sysadm/2011-January/002148.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/002148.html b/zarb-ml/mageia-sysadm/2011-January/002148.html new file mode 100644 index 000000000..5ac43caa9 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/002148.html @@ -0,0 +1,94 @@ + + + + [Mageia-sysadm] [308] use umask to write sudoers file ( so that it gets 0440 perms as expected by sudo) + + + + + + + + + +

[Mageia-sysadm] [308] use umask to write sudoers file ( so that it gets 0440 perms as expected by sudo)

+ root at mageia.org + root at mageia.org +
+ Sun Jan 16 23:37:25 CET 2011 +

+
+ +
Revision: 308
+Author:   blino
+Date:     2011-01-16 23:37:25 +0100 (Sun, 16 Jan 2011)
+Log Message:
+-----------
+use umask to write sudoers file (so that it gets 0440 perms as expected by sudo)
+
+Modified Paths:
+--------------
+    build_system/iurt/trunk/iurt2
+
+Modified: build_system/iurt/trunk/iurt2
+===================================================================
+--- build_system/iurt/trunk/iurt2	2011-01-16 22:35:32 UTC (rev 307)
++++ build_system/iurt/trunk/iurt2	2011-01-16 22:37:25 UTC (rev 308)
+@@ -1454,7 +1454,7 @@
+     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) {
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20110116/c5ed51a0/attachment-0001.html>
+
+ + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1