소스 검색

Add a chown line to install_vikunja.sh to set the owner to the default user

Robert Middleswarth 3 년 전
부모
커밋
2f2a051a65
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      tools/install_vikunja.sh

+ 2 - 0
tools/install_vikunja.sh

@@ -21,4 +21,6 @@ echo "Creating directories..."
 sudo mkdir -p /portainer/Files/AppData/Config/Vikunja || error "Failed to create Vikunja directory!"
 eecho "Downloading vikunja config files"
 sudo wget -O /portainer/Files/AppData/Config/Vikunja/nginx.conf https://raw.githubusercontent.com/novaspirit/pi-hosted/master/configs/vikunja_nginx.conf || error "Failed to download nginx.conf file!"
+echo "Setting permissions..."
+sudo chown -R 1000.1000 /portainer/Files/AppData/Config/Vikunja || error "Failed to set permissions for modules data!"
 echo "Done You are ready to install the Vikunja Template"