From cc83804e6fb6b9b6534ea58003cd73d31968ca27 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Mon, 14 Sep 2009 14:49:53 +0200 Subject: disabled sanitize_dump_dir_rights() in daemon, as it conflicts with python hook --- src/Daemon/Daemon.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Daemon') 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) -- cgit