diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-02-22 12:45:19 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-02-22 12:45:19 +0100 |
commit | f085ee31f7e264fb3c288dc7ad7f88118d275318 (patch) | |
tree | 8f4afdc05dfdc67eeaf9cc189b9ed5abdf633d13 /src/plugins | |
parent | ffece2d20673269029bb0b9403e20125e92382fa (diff) | |
download | abrt-f085ee31f7e264fb3c288dc7ad7f88118d275318.tar.gz abrt-f085ee31f7e264fb3c288dc7ad7f88118d275318.tar.xz abrt-f085ee31f7e264fb3c288dc7ad7f88118d275318.zip |
abrt-action-install-debuginfo.py: use /tmp for now
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/plugins')
-rwxr-xr-x | src/plugins/abrt-action-install-debuginfo.py | 4 |
1 files changed, 3 insertions, 1 deletions
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: |