[perl-Proc-Daemon/el5] add the patch

Remi Collet remi at fedoraproject.org
Wed Dec 18 14:41:39 UTC 2013


commit 09aec7511aa6fec2968739f2fc2711e1088c672f
Author: Remi Collet <remi at fedoraproject.org>
Date:   Wed Dec 18 15:41:39 2013 +0100

    add the patch

 debian_patches_pid.patch |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/debian_patches_pid.patch b/debian_patches_pid.patch
new file mode 100644
index 0000000..646a8b2
--- /dev/null
+++ b/debian_patches_pid.patch
@@ -0,0 +1,25 @@
+Description: Fix too permissive umask
+Bug-Debian: http://bugs.debian.org/732283
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=91450
+Author: Axel Beckert <abe at debian.org>
+
+Index: libproc-daemon-perl/lib/Proc/Daemon.pm
+===================================================================
+--- libproc-daemon-perl.orig/lib/Proc/Daemon.pm	2013-08-29 16:50:09.000000000 +0200
++++ libproc-daemon-perl/lib/Proc/Daemon.pm	2013-12-16 20:20:36.000000000 +0100
+@@ -152,7 +152,7 @@
+             die "Can't <chdir> to $self->{work_dir}: $!" unless chdir $self->{work_dir};
+ 
+             # Clear the file creation mask.
+-            umask 0;
++            umask 066;
+ 
+             # Detach the child from the terminal (no controlling tty), make it the
+             # session-leader and the process-group-leader of a new process group.
+@@ -633,4 +633,4 @@
+     return $pid;
+ }
+ 
+-1;
+\ No newline at end of file
++1;


More information about the scm-commits mailing list