Skip to content

Commit

Permalink
Fix the mode of custom dir to 0700 in docker-rootless (#20861)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored Aug 19, 2022
1 parent 2dd0b88 commit 7258a12
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 7258a12

Please sign in to comment.