|
|
562801 |
From c962918bc70a61a8cc647898ee8b1ff1c14a87c5 Mon Sep 17 00:00:00 2001
|
|
|
562801 |
From: Jakub Filak <jfilak@redhat.com>
|
|
|
562801 |
Date: Tue, 28 Apr 2015 12:49:38 +0200
|
|
|
562801 |
Subject: [LIBREPORT PATCH] build: switch the default dump dir mode to 0640
|
|
|
562801 |
|
|
|
562801 |
The 0660 allows root escalations in ABRT. We don't really need to have
|
|
|
562801 |
the dump directories writable for the group as ABRT processes run under
|
|
|
562801 |
root. We introduced 0x1 for group with the switch to /var/tmp/abrt
|
|
|
562801 |
because we thought that we will have ABRT processes run under the user
|
|
|
562801 |
abrt, but there are no signs that we will ever pursue such a setup.
|
|
|
562801 |
|
|
|
562801 |
Related: #1212861
|
|
|
562801 |
|
|
|
562801 |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
|
562801 |
---
|
|
|
562801 |
configure.ac | 4 ++--
|
|
|
562801 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
562801 |
|
|
|
562801 |
diff --git a/configure.ac b/configure.ac
|
|
|
562801 |
index df88240..8aea410 100644
|
|
|
562801 |
--- a/configure.ac
|
|
|
562801 |
+++ b/configure.ac
|
|
|
562801 |
@@ -249,8 +249,8 @@ AC_PATH_PROG(AUGPARSE, augparse, no)
|
|
|
562801 |
|
|
|
562801 |
AC_ARG_WITH([defaultdumpdirmode],
|
|
|
562801 |
AS_HELP_STRING([--with-defaultdumpdirmode=OCTAL-MODE],
|
|
|
562801 |
- [Default dump dir mode (default: 0660)]),
|
|
|
562801 |
- [], [with_defaultdumpdirmode="0660"])
|
|
|
562801 |
+ [Default dump dir mode (default: 0640)]),
|
|
|
562801 |
+ [], [with_defaultdumpdirmode="0640"])
|
|
|
562801 |
AC_SUBST([DEFAULT_DUMP_DIR_MODE], [$with_defaultdumpdirmode])
|
|
|
562801 |
|
|
|
562801 |
DUMP_DIR_OWNED_BY_USER=1
|
|
|
562801 |
--
|
|
|
562801 |
1.8.3.1
|
|
|
562801 |
|