From a157186ef6577052043589fc7d7f0d3b757780df Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 29 Feb 2016 11:58:20 -0600 Subject: [PATCH] Fix pre-infernalis RBD client directory mode 0644 should never be a directory mode. 1777 makes it so that any user can create a ceph client, not just root. (This is helpful if, for instance, nova-compute is running as non-root.) --- roles/ceph-common/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-common/tasks/main.yml b/roles/ceph-common/tasks/main.yml index 84e4c87bb..8abbe005a 100644 --- a/roles/ceph-common/tasks/main.yml +++ b/roles/ceph-common/tasks/main.yml @@ -98,7 +98,7 @@ - set_fact: rbd_client_dir_owner: root rbd_client_dir_group: root - rbd_client_dir_mode: "0644" + rbd_client_dir_mode: "1777" when: not is_ceph_infernalis - set_fact: