Ownership of include files
Jim Wilson
wilson@cygnus.com
Mon May 4 14:22:00 GMT 1998
I have installed egcs-1.0.2 (i586-pc-linux-gnulibc1).
I compiled as a user and only did 'make install' as root.
After this, the directory
/usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.27/include
and the files there are owned by the user (not root).
These files are created as part of make bootstrap, and are installed using
tar, hence the installed copies of these files end up with whatever
permissions were in effect at the time of make bootstrap. This is a known
problem, but not a high priority one, so I don't know when it will be fixed.
Another minor point: the above procedure runs makeinfo as root and
creates root-owned info files in objdir.
IMO it would be better to build them in make bootstrap.
FYI You can build these files before `make install' by running `make info'.
Jim
More information about the Gcc-bugs
mailing list