I do not have .xsessionrc in my home folder. I created it
(~/.xsessionrc) and added a single line "umask 077". But after relogin,
I still am getting the wrong permissions on new documents. I still get
rw-r--r--.
Did I set .xsessionrc up correctly? If so, any other ideas?
In Jessie, setting umask in /.profile worked in gnome.
On 2017-06-24 14:05, Yves-Alexis Perez wrote:
On Fri, 2017-06-23 at 20:10 -0400, gwmf...@openmailbox.org wrote:
In Stretch (with Gnome 3.22), Gnome ignores the umask setting found
in
~/.profile. The umask used by gnome results in all files created with
rw-r--r--, which means everything is readable by everyone.
/etc/profile and ~/.profile are bash configuration files, not GNOME's.
If you
want something executed during X11 session startup on Debian, put it in
~/.xsessionrc.
Regards,