Blame SOURCES/0094-ccpp-create-dump-directory-without-parents.patch

06486d
From 2f948bdc09aa346616852a421ce1af2e03b39997 Mon Sep 17 00:00:00 2001
06486d
From: Jakub Filak <jfilak@redhat.com>
06486d
Date: Wed, 15 Apr 2015 17:42:59 +0200
06486d
Subject: [ABRT PATCH] ccpp: create dump directory without parents
06486d
06486d
This patch makes the code more robust.
06486d
This patch ensures that abrt-hook-ccpp never creates the dump location.
06486d
06486d
Related: #1211835
06486d
06486d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
06486d
---
06486d
 src/hooks/abrt-hook-ccpp.c | 2 +-
06486d
 1 file changed, 1 insertion(+), 1 deletion(-)
06486d
06486d
diff --git a/src/hooks/abrt-hook-ccpp.c b/src/hooks/abrt-hook-ccpp.c
06486d
index 7e05aa6..85e0d35 100644
06486d
--- a/src/hooks/abrt-hook-ccpp.c
06486d
+++ b/src/hooks/abrt-hook-ccpp.c
06486d
@@ -677,7 +677,7 @@ int main(int argc, char** argv)
06486d
      * the current user, hence, we have to call dd_reset_ownership() after the
06486d
      * directory is populated.
06486d
      */
06486d
-    dd = dd_create_skeleton(path, fsuid, DEFAULT_DUMP_DIR_MODE);
06486d
+    dd = dd_create_skeleton(path, fsuid, DEFAULT_DUMP_DIR_MODE, /*no flags*/0);
06486d
     if (dd)
06486d
     {
06486d
         char *rootdir = get_rootdir(pid);
06486d
-- 
06486d
1.8.3.1
06486d