diff --git a/python/graphscope/gsctl/scripts/install_deps.sh b/python/graphscope/gsctl/scripts/install_deps.sh index ce7020b5a6b6..53185c912e9b 100755 --- a/python/graphscope/gsctl/scripts/install_deps.sh +++ b/python/graphscope/gsctl/scripts/install_deps.sh @@ -180,6 +180,7 @@ fi init_workspace_and_env() { info "creating directory: ${install_prefix} ${MPI_PREFIX} ${tempdir}" ${SUDO} mkdir -p ${install_prefix} ${MPI_PREFIX} ${tempdir} + ${SUDO} chown -R $(id -u):$(id -g) ${install_prefix} ${MPI_PREFIX} ${tempdir} export PATH=${install_prefix}/bin:${PATH} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${install_prefix}/lib:${install_prefix}/lib64 }