Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to configure mode permissions on new directories #885

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

benmcclelland
Copy link
Member

We had 0755 hard coded for newly created directories before. This adds a user option to configure what the default mode permissions should be for newly created directories.

Fixes #878

@benmcclelland benmcclelland changed the title feat: add option to configure mode permssions on new directories feat: add option to configure mode permissions on new directories Oct 10, 2024
@benmcclelland benmcclelland requested a review from 0x180 October 10, 2024 23:24
cmd/versitygw/scoutfs.go Outdated Show resolved Hide resolved
cmd/versitygw/posix.go Outdated Show resolved Hide resolved
@benmcclelland benmcclelland force-pushed the ben/directory_perms branch 5 times, most recently from 7def20b to f7d440d Compare October 11, 2024 15:24
@benmcclelland benmcclelland requested a review from 0x180 October 11, 2024 15:25
We had 0755 hard coded for newly created directories before. This
adds a user option to configure what the default mode permissions
should be for newly created directories.

Fixes #878
@benmcclelland benmcclelland merged commit d7d6b60 into main Oct 17, 2024
18 checks passed
@benmcclelland benmcclelland deleted the ben/directory_perms branch October 17, 2024 15:56
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.

[Feature] - Make directory umask configurable
2 participants