summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-09-14 14:49:53 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-09-14 14:49:53 +0200
commitcc83804e6fb6b9b6534ea58003cd73d31968ca27 (patch)
tree509088654e74d25cae6ab18d522e948df2776a01 /src
parent1c98691adb56fe708ed3ef4a3c6638e7cbcae698 (diff)
downloadabrt-cc83804e6fb6b9b6534ea58003cd73d31968ca27.tar.gz
abrt-cc83804e6fb6b9b6534ea58003cd73d31968ca27.tar.xz
abrt-cc83804e6fb6b9b6534ea58003cd73d31968ca27.zip
disabled sanitize_dump_dir_rights() in daemon, as it conflicts with python hook
Diffstat (limited to 'src')
-rw-r--r--src/Daemon/Daemon.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index 5e05be76..8c5f613b 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -699,7 +699,11 @@ int main(int argc, char** argv)
g_pMainloop = g_main_loop_new(NULL, FALSE);
/* Watching DEBUG_DUMPS_DIR for new files... */
VERB1 log("Initializing inotify");
- sanitize_dump_dir_rights();
+ /*FIXME: python hook runs with ordinary user privileges,
+ so it fails if everyone doesn't have write acces
+ to DEBUG_DUMPS_DIR
+ */
+ //sanitize_dump_dir_rights();
errno = 0;
int inotify_fd = inotify_init();
if (inotify_fd == -1)