Merge lp:~mvo/aptdaemon/admin-group-fix into lp:aptdaemon
Proposed by
Michael Vogt
Status: | Rejected |
---|---|
Rejected by: | Michael Vogt |
Proposed branch: | lp:~mvo/aptdaemon/admin-group-fix |
Merge into: | lp:aptdaemon |
Diff against target: |
97 lines (+49/-6) 2 files modified
aptdaemon/worker.py (+23/-6) tests/test_worker.py (+26/-0) |
To merge this branch: | bzr merge lp:~mvo/aptdaemon/admin-group-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aptdaemon Developers | Pending | ||
Review via email: mp+95039@code.launchpad.net |
Description of the change
Please consider the following patch to support both the "admin" and the "sudo" group.
In ubuntu 12.04 the new group is "sudo" but on old installs the "admin" group is still in use
and users are not transitioned over. So aptdaemon needs to support both.
To post a comment you must log in.
Unmerged revisions
- 778. By Michael Vogt
-
skip the test is the user is not in the right group
- 777. By Michael Vogt
-
ensure mode is 0640 for protected source files
- 776. By Michael Vogt
-
user the transaction uid to figure out what group to use and add a test
- 775. By Michael Vogt
-
aptdaemon/
worker. py: support both admin (if available) and sudo group - 774. By Michael Vogt
-
aptdaemon/
worker. py: use root.sudo instead of root.admin as the former is no longer used in ubuntu/debian
I udpated the test a bit to ensure that it will not fail when run as a non-{sudo,admin} group user now. How does it look ?