Skip to content

Add config option default_chmod to be applied after file creation#267

Open
mrtati wants to merge 1 commit intomarcosnils:masterfrom
mrtati:config_chmod
Open

Add config option default_chmod to be applied after file creation#267
mrtati wants to merge 1 commit intomarcosnils:masterfrom
mrtati:config_chmod

Conversation

@mrtati
Copy link

@mrtati mrtati commented Jan 30, 2026

I have an unusual umask setup and so the file created was not as expected. Also the default mask value of 0766 was not ideal for me.

I added a new config option default_chmod which is applied explicitly as chmod after file creation.
The default value is automatically set to 0766 as it was in the code already, so no apparent change in functionality if this config value is not changed.

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.

1 participant