Summary: | media-video/projectx-0.90.4.00-r3 ignores umask | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Heiko Baums <heiko.baums> |
Component: | Current packages | Assignee: | Stefan Briesenick (RETIRED) <sbriesen> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kde, media-video |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Heiko Baums
2007-05-11 06:47:37 UTC
I noticed that this problem also exists with some other packages. See also bug #177944 (app-office/openoffice) and bug #177998 (media-video/kaffeine). 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 ProjectX 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. well, since ProjectX is a JAVA application and just uses the JAVA file-APIs, it doesn't ignore umask. Indeed, it has to chmod() a file to circumvent umask. So I don't see this as a ProjectX bug. But it's easy to test: #~ umask 077 && projectx I did this test and this is the result: -rw------- 1 stefan users 242 12. Mai 00:11 X.ini if you want to set your umask KDE wide, then /usr/kde/<version>/env/ would be a good place to put your scripts in. But if at all, it's a fault in BASH and/or KDE not sourcing your ~/.bashrc. (In reply to comment #2) > 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 ProjectX itself but in > KDE (3.5.6) which doesn't source ~/.bashrc or ~/.bash_profile during a login > even if it should. > Please check my comment in https://bugs.gentoo.org/show_bug.cgi?id=177998#c3 (In reply to comment #4) > Please check my comment in https://bugs.gentoo.org/show_bug.cgi?id=177998#c3 Answer is there. ;-) (In reply to comment #3) > if you want to set your umask KDE wide, then /usr/kde/<version>/env/ would be a > good place to put your scripts in. Thanks for the hint. 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. > But if at all, it's a fault in BASH and/or > KDE not sourcing your ~/.bashrc. That's why I've written my comment about adding KDE herd to the CC list. ;-) Bash sources my ~/.bashrc without any problems but KDE doesn't. I think this should be done by KDE automatically without an additional script. So I would say this is a fault in KDE. In the meantime I'm also sure that this is not a projectx bug. *** This bug has been marked as a duplicate of bug 177998 *** |