Skip to content

Commit

Permalink
Merge pull request Homebrew#16465 from MikeMcQuaid/user_working_direc…
Browse files Browse the repository at this point in the history
…tory_readable

brew: clarify which user needs to be able to read the working directory.
  • Loading branch information
MikeMcQuaid authored Jan 11, 2024
2 parents 3e537a2 + f404aaf commit dca9ff8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ then
fi
if ! [[ -r "$(pwd)" ]]
then
odie "The current working directory must be readable to run brew."
odie "The current working directory must be readable to ${USER} to run brew."
fi

#####
Expand Down
2 changes: 1 addition & 1 deletion bin/brew
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ then
fi
if ! [[ -r "${PWD}" ]]
then
echo "Error: The current working directory must be readable to run brew." >&2
echo "Error: The current working directory must be readable to ${USER} to run brew." >&2
exit 1
fi

Expand Down

0 comments on commit dca9ff8

Please sign in to comment.