Fix job queue directory permission problems
authorMichele Tartara <mtartara@google.com>
Mon, 8 Apr 2013 12:33:37 +0000 (12:33 +0000)
committerMichele Tartara <mtartara@google.com>
Wed, 10 Apr 2013 15:09:18 +0000 (17:09 +0200)
commitfe05a9318b6a6724027eaab06703c2e8a2f52746
tree00e43488867cdc3f33d09f21ec98d900828e9843
parent9e946416b10e4a070fbd07313df57e88a929f23c
Fix job queue directory permission problems

If split users are used, the queue directory could only be accessed
by masterd, but also confd needs to be able to read it, e.g. when it
is queried as part of "gnt-job list"

This commit fixes the permissions in such a way to allow proper access rights.

Fixes Issue 406.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
UPGRADE
lib/backend.py
lib/constants.py
lib/jqueue.py
lib/jstore.py
lib/tools/ensure_dirs.py