]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix pre-infernalis RBD client directory mode 583/head
authorChris St. Pierre <chris.a.st.pierre@gmail.com>
Mon, 29 Feb 2016 17:58:20 +0000 (11:58 -0600)
committerChris St. Pierre <chris.a.st.pierre@gmail.com>
Mon, 29 Feb 2016 17:58:20 +0000 (11:58 -0600)
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

index 84e4c87bbbe909f0e61def9133392a8a6389444b..8abbe005a5121ecc3af886f8a8350328178e5b4d 100644 (file)
@@ -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: