media-video/kaffeine-0.8.4 ignores umask. For one user I've set 'umask 077' in his ~/.bashrc. So every normal file which is written by this user should have and usually has the file permissions 600 (rw-------) but when this user saves/records a file with Kaffeine the file has the permissions 644 (rw-r--r--) instead.
I noticed that this problem also exists with some other packages. See also bug #177944 (app-office/openoffice) and bug #178000 (media-video/projectx).
After searching a while in the forums and because there are at least 3 GUI programs affected I guess that it could be a bug not in Kaffeine itself but in KDE (3.5.6) which doesn't source ~/.bashrc or ~/.bash_profile during a login even if it should. And every hint I found in the forums didn't help or was already implemented. I don't know if this helps but I'm starting KDE by /etc/init.d/xdm at boot time in the default runlevel.
You should have the following in your /usr/kde/3.5/share/config/kdm/Xsession case $SHELL in */bash) [ -z "$BASH" ] && exec $SHELL $0 "$@" set +o posix [ -f /etc/profile ] && . /etc/profile if [ -f $HOME/.bash_profile ]; then . $HOME/.bash_profile elif [ -f $HOME/.bash_login ]; then . $HOME/.bash_login elif [ -f $HOME/.profile ]; then . $HOME/.profile fi If you don't have this section in the file, emerge kdm again.
I'm having this in my /usr/kde/3.5/share/config/kdm/Xsession. It's, btw., a fresh Gentoo install. In /etc/rc.conf I'm having this line: XSESSION="kde-3.5" And after looking into /etc/X11/Sessions/kde-3.5 and /usr/kde/3.5/bin/startkde I found out that these files aren't sourced by the script startkde. So I guess this should be changed. Or am I wrong? Setting XSESSION="Xsession" in /etc/rc.conf doesn't help also. These files are still not sourced.
As suggested by Stefan Briesenick in bug #178000 I've put the following script "setumask.sh" into ~/.kde3.5/env. #!/bin/bash umask 077 This works but looks for me only as a workaround. I think this should be done by KDE automatically without an additional script. So I would say this is a fault in KDE. I've renamed this bug because this issue is not only related to Kaffeine but to every GUI program which is run in KDE.
*** Bug 177944 has been marked as a duplicate of this bug. ***
*** Bug 178000 has been marked as a duplicate of this bug. ***
Is this still an issue with newer versions?
To be honest, I can't tell you, because I kept the script mentioned in comment #5 until kde-3.5.9, which I'm still using. And I won't update to kde-4, because the last "stable" kde-4 version I've tested was so unstable and buggy that it's not usable. And kde-4 eats up far too many ressources. So after many years using KDE it's time to have a look at Xfce.