From 217e822e639d54dc826a3eed00fd5bea0090f2bc Mon Sep 17 00:00:00 2001 From: Jakub Filak Date: Wed, 15 Apr 2015 17:42:59 +0200 Subject: [PATCH] ccpp: create dump directory without parents This patch makes the code more robust. 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 1761b79df6..dadc7be453 100644 --- a/src/hooks/abrt-hook-ccpp.c +++ b/src/hooks/abrt-hook-ccpp.c @@ -613,7 +613,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 source_filename[sizeof("/proc/%lu/somewhat_long_name") + sizeof(long)*3];