Browse Source

Merge pull request #9 from volga629/volga629-patch-2

Update install-functions_fedora_server22
volga629 9 years ago
parent
commit
4a1c107c2a
1 changed files with 6 additions and 0 deletions
  1. 6 0
      install/fedora-server/22/install-functions_fedora_server22

+ 6 - 0
install/fedora-server/22/install-functions_fedora_server22

@@ -8,6 +8,12 @@ pause() {
     read -p "$key" readEnterKey
 }
 
+fix_perm() {
+  for dir in $(find . -type d); do
+      setfacl -m user:nginx:rwx,group:nginx:rwx "$dir"
+  done
+}
+
 deploy_remote_pgsql() {
     cmd_remote_pgsql_p1 >  /tmp/deploy_remote_pgsql
     cmd_remote_pgsql_p2 >> /tmp/deploy_remote_pgsql