Skip to content

create_directories: preserve sticky and setgid permissions#1855

Open
franzpoeschel wants to merge 2 commits intoopenPMD:devfrom
franzpoeschel:fix-sticky-permissions
Open

create_directories: preserve sticky and setgid permissions#1855
franzpoeschel wants to merge 2 commits intoopenPMD:devfrom
franzpoeschel:fix-sticky-permissions

Conversation

@franzpoeschel
Copy link
Contributor

};
#else
mode_t mask = umask(0);
umask(mask);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why do we retrieve the umask just to apply it manually without any modifications? That's what the system does implicitly anyway?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant