Browse Source

Chown NFS export dir to $STACK_USER

Cinder expects to be able to write here.

Change-Id: I5b014e9d1770286c1099dfdaa1477ec66886b996
Eric Harney 3 years ago
parent
commit
b8aa9d32e4
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      devstack/plugin.sh

+ 2
- 0
devstack/plugin.sh View File

@@ -29,6 +29,8 @@ function install_nfs {
29 29
 
30 30
 function configure_nfs {
31 31
     sudo mkdir -p $NFS_EXPORT_DIR
32
+    sudo chown $STACK_USER $NFS_EXPORT_DIR
33
+
32 34
     sudo mkdir -p /etc/exports.d
33 35
 
34 36
     cat <<EOF | sudo tee ${STACK_NFS_CONF}>/dev/null

Loading…
Cancel
Save