Project

General

Profile

« Previous | Next » 

Revision 78c02cd2

Added by Andreas Kohlbecker about 8 years ago

fixing another permission issue

View differences:

src/main/jenkins-ci/cdmserver-deploy-index-single.sh
56 56
echo "  "
57 57

  
58 58
echo "transferring  index to "${REMOTE_SERVER}
59
ssh ${REMOTE_SERVER} "sudo rm -rf ${REMOTE_INDEX_CONTAINER}tmp; sudo mkdir -p ${REMOTE_INDEX_CONTAINER}tmp"
59
ssh ${REMOTE_SERVER} "sudo rm -rf ${REMOTE_INDEX_CONTAINER}tmp; sudo mkdir -p ${REMOTE_INDEX_CONTAINER}tmp; sudo chown -R cdm:cdm ${REMOTE_INDEX_CONTAINER}tmp"
60 60
cd ${LOCAL_INDEX_CONTAINER}/index
61 61
tar czf - ${INSTANCE_NAME} | ssh ${REMOTE_SERVER} "cd ${REMOTE_INDEX_CONTAINER}tmp ; tar xzf -"
62 62
# fixing owner and permissions

Also available in: Unified diff