create a function to create file with forced permissions#10870
Open
sylvestre wants to merge 9 commits intouutils:mainfrom
Open
create a function to create file with forced permissions#10870sylvestre wants to merge 9 commits intouutils:mainfrom
sylvestre wants to merge 9 commits intouutils:mainfrom
Conversation
10750f4 to
551598e
Compare
|
GNU testsuite comparison: |
551598e to
6934fe4
Compare
Collaborator
|
I'm curious where the justification for this comes from? I have been reading up on these options and what the default File create does and I think the default behaviour is mode o666 and when running commands to compare what is used by the gnu commands the only command that I could find of these that used a more restrictive mode was cp and that the other ones do not have this behaviour for example for gnu touch which matches main: Which is now: But the two gnu compatibility improvements I do see in the PR is that this is a step forward with the right behavior for cp and the sort file creation was missing the truncate flag. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.