Enforce ownership of client.conf in postinst
Bug #1066116 reported by
Thomas Herve
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
If the file exists, we don't enforce ownership as landscape:root. As landscape-client can't run if it's not readable, we should add the proper chown (as we already do a chmod).
Related branches
lp:~therve/landscape-client/config-permissions
- Alberto Donato (community): Approve
- Geoff Teale (community): Approve
-
Diff: 48 lines (+16/-0)3 files modifieddebian/landscape-client.postinst (+1/-0)
landscape/deployment.py (+3/-0)
landscape/tests/test_deployment.py (+12/-0)
Changed in landscape-client: | |
milestone: | backlog → 12.10 |
assignee: | nobody → Thomas Herve (therve) |
Changed in landscape-client: | |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.