Ver código fonte

ghost permissions

Bob Mottram 8 anos atrás
pai
commit
4992cbe18e
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-app-ghost

+ 1
- 0
src/freedombone-app-ghost Ver arquivo

@@ -596,6 +596,7 @@ function install_ghost {
596 596
     function_check add_ddns_domain
597 597
     add_ddns_domain $GHOST_DOMAIN_NAME
598 598
 
599
+    chown -R ghost: /var/www/${GHOST_DOMAIN_NAME}/htdocs
599 600
     set_completion_param "ghost domain" "$GHOST_DOMAIN_NAME"
600 601
     if ! grep -q "ghost version:" ${COMPLETION_FILE}; then
601 602
         echo "ghost version:${GHOST_VERSION}" >> ${COMPLETION_FILE}