Skip to content

Commit

Permalink
set git-secret keys dir to 700 perms, for sobolevn#811
Browse files Browse the repository at this point in the history
  • Loading branch information
joshr committed Mar 31, 2022
1 parent a784b47 commit ae7ada2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/git_secret_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function init {
# Create internal files:

mkdir "$git_secret_dir" "$(_get_secrets_dir_keys)" "$(_get_secrets_dir_path)"
chmod 700 "$(_get_secrets_dir_keys)" # for #811, set to rwx------
touch "$(_get_secrets_dir_paths_mapping)"

_message "init created: '$git_secret_dir/'"
Expand Down

0 comments on commit ae7ada2

Please sign in to comment.