Blob Blame Raw
From 2624beb1e91b4de9286c6e4220c63cc2157d868b Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Mon, 2 Mar 2015 13:44:51 +0100
Subject: [PATCH] abrtd: Don't allow users to list problems "by hand"

See commit 61f3b160f609c112728e6cf3c55076aeabb75319

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/daemon/abrtd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c
index cce49eb..cf1bf1e 100644
--- a/src/daemon/abrtd.c
+++ b/src/daemon/abrtd.c
@@ -183,7 +183,7 @@ static void sanitize_dump_dir_rights(void)
      * us with thousands of bogus or malicious dumps */
     /* 07000 bits are setuid, setgit, and sticky, and they must be unset */
     /* 00777 bits are usual "rwxrwxrwx" access rights */
-    ensure_writable_dir(g_settings_dump_location, 0755, "abrt");
+    ensure_writable_dir(g_settings_dump_location, 0751, "abrt");
     /* temp dir */
     ensure_writable_dir(VAR_RUN"/abrt", 0755, "root");
 }
-- 
2.1.0