-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/repo: For bare-user, make repo modes mirror checkout user-mode
Having every object in a bare-user repo (and checkouts) be executable is ugly. I can't think of a good reason to do that. So make the committed mode semantics mirror that for user-mode checkouts; we strip suid/sgid bits. However, we also do ensure that the written files are read/writable by the owning user, since otherwise we couldn't do anything to them. I'm not aware of any real use cases for non-readable/non-writable by owner files in ostree. Closes: #907
- Loading branch information
Showing
4 changed files
with
52 additions
and
8 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
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