Skip to content

fix: Try to fix git-clean permission error in edxapp by using root#318

Merged
timmc-edx merged 1 commit intomasterfrom
timmc/clean-harder
Feb 17, 2026
Merged

fix: Try to fix git-clean permission error in edxapp by using root#318
timmc-edx merged 1 commit intomasterfrom
timmc/clean-harder

Conversation

@timmc-edx
Copy link
Member


Make sure that the following steps are done before merging:

  • Have a Site Reliability Engineer review the PR if you don't own all of the services impacted.
  • If you are adding any new default values that need to be overridden when this change goes live, update internal repos and add an entry to the top of the CHANGELOG.
  • Performed the appropriate testing.

@timmc-edx timmc-edx merged commit 270a106 into master Feb 17, 2026
1 of 3 checks passed
@timmc-edx timmc-edx deleted the timmc/clean-harder branch February 17, 2026 17:55
timmc-edx added a commit that referenced this pull request Feb 18, 2026
This reverts commits 270a106/PR #318, ba8d06d/PR #319, and
133403d/PR #320 which attempted to change to running git-clean as root.

For some reason, git is still saying the directory is unsafe and recommends
setting `safe.directory` even though we already are. Just giving up for
now. We may need some other approach, such as running `chown -R` on the
repo before cleaning or ensuring these files are created with the right
ownership in the first place.
timmc-edx added a commit that referenced this pull request Feb 18, 2026
This reverts commits 270a106/PR #318, ba8d06d/PR #319, and
133403d/PR #320 which attempted to change to running git-clean as root.

For some reason, git is still saying the directory is unsafe and recommends
setting `safe.directory` even though we already are. Just giving up for
now. We may need some other approach, such as running `chown -R` on the
repo before cleaning or ensuring these files are created with the right
ownership in the first place.
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