Skip to content

Commit

Permalink
Fix the mode of custom dir to 0700 in docker-rootless (go-gitea#20861)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang authored and Sysoev, Vladimir committed Aug 28, 2022
1 parent 1ad1801 commit 029f436
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 029f436

Please sign in to comment.