Skip to content

osfs: max out defaultDirectoryMode so umask applies correctly#125

Merged
pjbgf merged 1 commit into
go-git:mainfrom
0xDEC0DE:issue/104
Nov 11, 2025
Merged

osfs: max out defaultDirectoryMode so umask applies correctly#125
pjbgf merged 1 commit into
go-git:mainfrom
0xDEC0DE:issue/104

Conversation

@0xDEC0DE

@0xDEC0DE 0xDEC0DE commented Apr 9, 2025

Copy link
Copy Markdown
Contributor

a reprise of #104, with added tests

Limited the scope of the CreateWithChroot tests to OsFs, because MemFs creates parent directories with bonkers permissions.

drive-by: add Makefile variables for make test-coverage to run successfully

@pjbgf pjbgf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xDEC0DE thanks for looking into this issue. The tests expectations need to be reviewed to reflect that some of the supported platforms.

Comment thread Makefile
@0xDEC0DE

0xDEC0DE commented Apr 12, 2025

Copy link
Copy Markdown
Contributor Author

@0xDEC0DE thanks for looking into this issue. The tests expectations need to be reviewed to reflect that some of the supported platforms.

Done.

Comment thread test/chroot_test.go Outdated
Comment thread test/chroot_test.go Outdated
Comment thread test/chroot_test.go
a reprise of #104, with added tests

Limited the scope of the CreateWithChroot tests to OsFs, because
MemFs creates parent directories with bonkers permissions.

drive-by: add Makefile variables for `make test-coverage` to run successfully

@pjbgf pjbgf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0xDEC0DE thanks for working on this. 🙇

@pjbgf pjbgf merged commit fb5ff8f into go-git:main Nov 11, 2025
11 checks passed
@0xDEC0DE 0xDEC0DE deleted the issue/104 branch November 11, 2025 16:04
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