Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 177944

Summary: app-office/openoffice-2.2.0 ignores umask
Product: Gentoo Linux Reporter: Heiko Baums <heiko.baums>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Heiko Baums 2007-05-10 16:15:53 UTC
app-office/openoffice-2.2.0 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 a document with OpenOffice.org the file has the permissions 644 (rw-r--r--) instead.
Comment 1 Heiko Baums 2007-05-11 06:51:46 UTC
I noticed that this problem also exists with some other packages.
See also bug #177998 (media-video/kaffeine) and bug #178000 (media-video/projectx).
Comment 2 Heiko Baums 2007-05-11 13:50:18 UTC
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 OpenOffice.org 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.

Maybe this bug should be reassigned to KDE herd or KDE herd should be added to the CC list.

I don't know if this helps but I'm starting KDE by /etc/init.d/xdm at boot time in the default runlevel.
Comment 3 Heiko Baums 2007-05-12 03:46:47 UTC
It's not an openoffice bug but a general KDE issue which affects every GUI program running in KDE.

*** This bug has been marked as a duplicate of bug 177998 ***