Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix folder permissions issue #13

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Fix folder permissions issue #13

merged 1 commit into from
Aug 1, 2023

Conversation

eak12913
Copy link
Contributor

@eak12913 eak12913 commented Aug 1, 2023

This fix addresses an issue where terragrunt throws an issue when calling functions like get_repo_root which uses git rev-parse under the hood and gets a permissions error like:

git rev-parse --show-toplevel
fatal: detected dubious ownership in repository at '/github/workspace/infrastructure-live'
To add an exception for this directory, call:

        git config --global --add safe.directory /github/workspace/infrastructure-live

This fix addresses an issue where terragrunt throws an issue when calling functions like `get_repo_root` which uses `git rev-parse` under the hood and gets a permissions error like:

```
git rev-parse --show-toplevel
fatal: detected dubious ownership in repository at '/github/workspace/infrastructure-live'
To add an exception for this directory, call:

        git config --global --add safe.directory /github/workspace/infrastructure-live
```
@eak12913 eak12913 merged commit 9b94db9 into main Aug 1, 2023
@eak12913 eak12913 deleted the eak12913-patch-1 branch August 1, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants