Several GUI applications I use do not apply the permissions I want when they create files or directories. Directories are created with 0755 permission and files with 0644 permission. I want them created with 0775 and 0664. This affects multiple applications: LibreOffice, Krusader, Konversation. It doesn't seem to matter where I create the file, whether it's in my home directory on in a public directory with 0777 permissions.
I've set UMASK to 002 everywhere I can find it (including some places I probably shouldn't have) and added it to the various places where it's recommended (/etc/bashrc, /etc/profile/, /etc/login.defs, ~/.bashrc, /etc/profile.d/set-umask.sh).
If I open a terminal window, UMASK shows 0002, and if I launch the applications from the terminal, they act the way I want.
Is there some other setting I need to configure?