Re: How to change default umask in Stretch?
- Date: Sat, 12 Aug 2017 09:26:38 -0300
- From: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>
- Subject: Re: How to change default umask in Stretch?
On Sat, 12 Aug 2017, Jonathan de Boyne Pollard wrote:
> Henrique de Moraes Holschuh:
> > Note that the ideal implementation would be to inherit the umask [...]
> 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.
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.