Merge lp:~verterok/charms/trusty/tanuki-result-enum-worker/fix-var-perms into lp:~tanuki/charms/trusty/tanuki-result-enum-worker/trunk

Proposed by Guillermo Gonzalez
Status: Merged
Approved by: Roberto Alsina
Approved revision: 35
Merged at revision: 35
Proposed branch: lp:~verterok/charms/trusty/tanuki-result-enum-worker/fix-var-perms
Merge into: lp:~tanuki/charms/trusty/tanuki-result-enum-worker/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
hooks/actions.py (+1/-1)
To merge this branch: bzr merge lp:~verterok/charms/trusty/tanuki-result-enum-worker/fix-var-perms
Reviewer Review Type Date Requested Status
Roberto Alsina (community) Approve
Review via email: mp+267870@code.launchpad.net

Commit message

fix owner and perms of var directory

Description of the change

fix owner and perms of var directory

To post a comment you must log in.
Revision history for this message
Roberto Alsina (ralsina) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/actions.py'
2--- hooks/actions.py 2015-08-12 13:38:12 +0000
3+++ hooks/actions.py 2015-08-12 19:32:53 +0000
4@@ -28,7 +28,7 @@
5
6 def ensure_directories(service_name):
7 host.mkdir(BASE_DIR, owner='root', group='ubuntu')
8- host.mkdir(VARS_DIR, owner='root', group='ubuntu')
9+ host.mkdir(VARS_DIR, owner='root', group='result-enum-worker', perms=0o775)
10
11
12 def basenode(service_name):

Subscribers

People subscribed via source and target branches