From f085ee31f7e264fb3c288dc7ad7f88118d275318 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 22 Feb 2011 12:45:19 +0100 Subject: abrt-action-install-debuginfo.py: use /tmp for now Signed-off-by: Denys Vlasenko --- src/plugins/abrt-action-install-debuginfo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/abrt-action-install-debuginfo.py b/src/plugins/abrt-action-install-debuginfo.py index f9d1f50f..14838168 100755 --- a/src/plugins/abrt-action-install-debuginfo.py +++ b/src/plugins/abrt-action-install-debuginfo.py @@ -450,7 +450,9 @@ if __name__ == "__main__": if not cachedir: cachedir = "/var/cache/abrt-di" if not tmpdir: - tmpdir = "/var/run/abrt/install-debuginfo-%s.%u" % (time.strftime("%Y-%m-%d-%H:%M:%S"), os.getpid()) + # security people prefer temp subdirs in app's private dir, like /var/run/abrt + # for now, we use /tmp... + tmpdir = "/tmp/abrt-tmp-debuginfo-%s.%u" % (time.strftime("%Y-%m-%d-%H:%M:%S"), os.getpid()) b_ids = extract_info_from_core(core) if b_ids == RETURN_FAILURE: -- cgit