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