From 8ccb99ecb41b621474b90f91ec032ab38830051f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 15 Jul 2019 14:15:36 -0400 Subject: [PATCH] replace recursive chmod for deployment --- deploy_static | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy_static b/deploy_static index c4ee09bc..0e158c3d 100755 --- a/deploy_static +++ b/deploy_static @@ -15,8 +15,7 @@ echo active is $active echo target is $target echo -rsync -rcve ssh --delete static/ $remote:$target -ssh $remote chmod -R a+rX $target +rsync -rpcve ssh --chmod=D755,F644 --delete static/ $remote:$target ssh $remote sync -f $target ssh $remote ln -snf $target html ssh $remote sync .