Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83115 - opengl-update obeys umask in /etc/profile
Summary: opengl-update obeys umask in /etc/profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 15:53 UTC by James Le Cuirot
Modified: 2005-04-26 13:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Le Cuirot gentoo-dev 2005-02-23 15:53:20 UTC
I've just had trouble compiling the E17 libraries because they were complaining that /usr/lib/libGL.la was not a valid libtool archive. It took me a while to realise that the permissions on that file were set to 600 and not 644. I have "uname 077" in /etc/profile which most likely had something to do with this but nevertheless, this file should still always be created with mode 644. I'm not sure what is responsible for creating this file, possibly opengl-update?
Comment 1 James Le Cuirot gentoo-dev 2005-02-23 16:13:50 UTC
Hmmm I just got another similar error, this time because of /usr/lib/libid3.la. I had a look and quite a few more are set to 600. I've fixed them all now but what's causing this?
Comment 2 Jonathan Rogers 2005-02-24 04:31:41 UTC
I assume you mean "umask 0077" rather than "uname 0077". I just ran into this problem. It is indeed the fault of opengl-update, which seems to just be creating the symlink with default permissions, which in turn depend on the umask. Since I think it's a very good idea to use 0077 for the superuser, this is definitely a bug in opengl-update (I have 2.1.1-r1).
Comment 3 James Le Cuirot gentoo-dev 2005-02-24 04:49:24 UTC
Yeah I did mean umask. What about the other .la files though? I suspect it may have been fix_libtool_files.sh but I'm not sure.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-25 16:22:23 UTC
This bug can be for opengl-update -- x11 herd doesn't take care of all the other crap that touches/creates libtool archives. Please file other bugs for other problems.
Comment 5 James Le Cuirot gentoo-dev 2005-02-25 19:24:53 UTC
I thought not but I didn't realise it was more than just opengl-update until this bug had already been sent to the X11 guys. I'll file another one.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-26 13:13:27 UTC
Fixed in cvs.  Thanks.