diff options
author | wxiaoguang | 2022-08-19 23:05:07 +0800 |
---|---|---|
committer | GitHub | 2022-08-19 11:05:07 -0400 |
commit | 7258a124af3b83b0224600cffc725b07ed399590 (patch) | |
tree | 332ba9ed2fb006c8ac9ed1e6dff5f08b47a8b0d2 /docker | |
parent | 2dd0b88a930806213b619798ee896a0b36caaa76 (diff) |
Fix the mode of custom dir to 0700 in docker-rootless (#20861)
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/rootless/usr/local/bin/docker-setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/rootless/usr/local/bin/docker-setup.sh b/docker/rootless/usr/local/bin/docker-setup.sh index 47645726c..feab02a37 100755 --- a/docker/rootless/usr/local/bin/docker-setup.sh +++ b/docker/rootless/usr/local/bin/docker-setup.sh @@ -5,7 +5,7 @@ mkdir -p ${HOME} && chmod 0700 ${HOME} if [ ! -w ${HOME} ]; then echo "${HOME} is not writable"; exit 1; fi # Prepare custom folder -mkdir -p ${GITEA_CUSTOM} && chmod 0500 ${GITEA_CUSTOM} +mkdir -p ${GITEA_CUSTOM} && chmod 0700 ${GITEA_CUSTOM} # Prepare temp folder mkdir -p ${GITEA_TEMP} && chmod 0700 ${GITEA_TEMP} |