-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Description
Summary
There are use-cases where the running application needs to inherit a specific umask from the launcher. These include cases where the application writes to some kind of network attached storage. launcher does not currently set the umask.
Proposal
Launcher should read the UMASK environment variable and enforce this umask. The umask should have no impact on Windows. If an invalid UMASK is passed, e.g. UMASK=foo, then an error should be returned.
The setting of umask should be late in the launcher process, after exec.d binaries have executed and the launch environment is configured.
Related
There is no RFC for this request.
RFC #___