Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get problem data over dbus #938

Closed
wants to merge 5 commits into from
Closed

Conversation

jfilak
Copy link
Contributor

@jfilak jfilak commented Mar 24, 2015

Without this pull request, abrt-cli works only for root user. The changes are tested by already existing test cases. Please, review this pull request ASAP.

Requires: abrt/libreport#341
Resolves: rhbz#1205439

Jakub Filak added 5 commits March 24, 2015 19:02
This commit fixes the crap I introduced in commit
57895cc

Signed-off-by: Jakub Filak <jfilak@redhat.com>
This function is required because users may not have direct file system
access to the problem data.

Signed-off-by: Jakub Filak <jfilak@redhat.com>
It is sometimes necessary to check if some elemen exist, so this method
should be fast as much as it is possible to do this task over DBus.

I was thinking about calling the GetInfo method with a single element
but I refused this idea as it is inherently overcomplicated and error
prone.

Signed-off-by: Jakub Filak <jfilak@redhat.com>
To conveniently use the DBus methods.

Signed-off-by: Jakub Filak <jfilak@redhat.com>
The dump directory is no longer accessible by non-root users and we also
want to get rid of direct access to allow administrators (wheel members)
see problem data without the need to ChownProblem directory before.

Signed-off-by: Jakub Filak <jfilak@redhat.com>
@mhabrnal
Copy link

looks good for me

@jfilak jfilak closed this Mar 30, 2015
@jfilak jfilak deleted the get_problem_data_over_dbus branch March 30, 2015 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants