Skip to content

Commit

Permalink
Fix the mode of custom dir to 0700 in docker-rootless (#20861) (#20867)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored Aug 20, 2022
1 parent 399917a commit b88a4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/rootless/usr/local/bin/docker-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b88a4b4

Please sign in to comment.