deployscript assert permissions

This commit is contained in:
mappu 2015-02-08 16:19:18 +13:00
parent 97c06514eb
commit bbbfba2e8f

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
chmod -R 644 /cygdrive/c/www/m6/code/wwwroot
chmod -R a+X /cygdrive/c/www/m6/code/wwwroot
rsync --delete -avz -e "ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/ rsync --delete -avz -e "ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/
# n.b. set chmod -R a+rX remote side? # n.b. set chmod -R a+rX remote side?