-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/commit: Don't chown objects to repo target owner
The idea is that if the process is running as root, it can change ownership of newly written files to match the owner of the repo. Unfortunately, it currently applies in the other direction, too - a non-root user writing to a root owned repository. If the repo is writable by the user but owned by root, it can still create files and directories there, but it can't change ownership of them. This feature comes from https://bugzilla.gnome.org/show_bug.cgi?id=738954. As it turns out, this feature was never completed. It only works on content objects and not metadata objects, refs, deltas, summaries, etc. Rather than try to fix all of those, remove the feature until someone has interest in completing it.
- Loading branch information
1 parent
9367a1b
commit 7f6a100
Showing
3 changed files
with
1 addition
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters