diff options
author | Karel Klic <kklic@redhat.com> | 2010-01-12 14:26:08 +0100 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2010-01-12 14:26:08 +0100 |
commit | 71fb2d7e690640b391b76b5432f07b4a81351c8b (patch) | |
tree | 1fb4898252178190b54e7367721df67b0a04a140 /src/Hooks | |
parent | d037916adc56d384717ebd6b7a5963543febc170 (diff) | |
download | abrt-71fb2d7e690640b391b76b5432f07b4a81351c8b.tar.gz abrt-71fb2d7e690640b391b76b5432f07b4a81351c8b.tar.xz abrt-71fb2d7e690640b391b76b5432f07b4a81351c8b.zip |
Fixing /var/cache/abrt/ permissions by allowing users to read, but not to change their crash data. Adds abrt user, changes abrt-hook-python to use suid instead of sgid bit (uid=abrt), sets /var/cache/abrt and every dump subdirectory to be owned by abrt user. Read access for users and their own crashes is provided by group (/var/cache/abrt/ccpp-xxxx-xx has user's group).
Diffstat (limited to 'src/Hooks')
-rw-r--r-- | src/Hooks/abrt-hook-python.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hooks/abrt-hook-python.cpp b/src/Hooks/abrt-hook-python.cpp index d7fca67..b921fba 100644 --- a/src/Hooks/abrt-hook-python.cpp +++ b/src/Hooks/abrt-hook-python.cpp @@ -111,7 +111,7 @@ int main(int argc, char** argv) CDebugDump dd; try { - dd.Create(path, geteuid()); + dd.Create(path, getuid()); } catch (CABRTException &e) { error_msg_and_die("Error while creating debug dump: %s", e.what()); } |