Re: How to change default umask in Stretch?
Henrique de Moraes Holschuh: > Note that the ideal implementation would
be to inherit the umask [...] Jonathan de Boyne Pollard: > Actually, the
ideal implementation from the GNOME point of view would be for > these
programs to pass the umask from the client process to the server, just >
like they pass open file handles, the working directory, environment >
variables (including DISPLAY), and the arguments vector. > >
Henrique de Moraes Holschuh: > You'd have to always indirectly start an
intermediate "gnome launcher" > thing (instead of the real program) that
sets up the environment, then > exec the real program for that to work.
No, that would not be necessary at all. Think about how GNOME Terminal
and GNOME Editor work. As I said: These are already passing a whole
bunch of process state from the client to the server, in order to
preserve things like the apparent semantics of GNOME Terminal windows
"inheriting" the working directories of the invoking clients, when in
reality there is no inheritance from those client processes going on at
all. This would be just one more such item of process state.