[Bug other/3659] gcc 3.0 installation with wrong user.group for fixed includes

hans-georg.pabst@ch.transport.bombardier.com gcc-bugzilla@gcc.gnu.org
Tue May 27 13:04:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3659



------- Additional Comments From hans-georg.pabst@ch.transport.bombardier.com  2003-05-27 12:33 -------
Subject: Re:  gcc 3.0 installation with wrong user.group
	 for fixed includes

Hi Dara,

I'm not talking about RPMs. I am installing gcc from source.

When I build (configure, make bootstrap) gcc from source as an ordinary user
(pabst), all files in the build tree belong to user pabst. This is what I
expect.

But when I become root and install gcc in it's final place (make install),
nearly all installed files belong to root.system. Only the subtree under
$PREFIX/lib/gcc-lib/$ARCH/$VERSION/include belongs to pabst. I think 'make
install' doesn't  set the right owner.group for this subtree. For me it's not
normal, that publicly installed files belong to a non-privileged user, which
could for instance accidently modify them. This subtree should also be owned by
root.system.

Reagrds,
Hans-Georg





"dhazeghi@yahoo.com" <gcc-bugzilla on 2003-05-26 23:15:31

Please respond to gcc-bugzilla@gcc.gnu.org


To:   Hans-Georg Pabst/CH/Transport/Bombardier@Transport
cc:

Security Level:?         Internal

Subject: [Bug other/3659] gcc 3.0 installation with wrong user.group for fixed
      includes



PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3659



------- Additional Comments From dhazeghi@yahoo.com  2003-05-26 21:15 -------
Hello,

with gcc 3.3 branch, an made by user 'dara' in group 'rpm' results in:

bash-2.04$ ls -l /tmp/junk/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/
total 11860
-rwxr-xr-x    1 dhazeghi rpm       9314126 May 26 14:11 cc1
-rwxr-xr-x    1 dhazeghi rpm        346556 May 26 14:11 collect2
-rw-r--r--    1 dhazeghi rpm          1580 May 26 14:11 crtbegin.o
-rw-r--r--    1 dhazeghi rpm          2108 May 26 14:11 crtbeginS.o
-rw-r--r--    1 dhazeghi rpm          1976 May 26 14:11 crtbeginT.o
-rw-r--r--    1 dhazeghi rpm          1240 May 26 14:11 crtend.o
-rw-r--r--    1 dhazeghi rpm          1436 May 26 14:11 crtendS.o
drwxr-xr-x    5 dhazeghi rpm          4096 May 26 14:08 include
drwx------    3 dhazeghi rpm          4096 May 26 14:11 install-tools
-rw-r--r--    1 dhazeghi rpm       2181218 May 26 14:11 libgcc.a
-rw-r--r--    1 dhazeghi rpm        236534 May 26 14:11 libgcc_eh.a
-rw-r--r--    1 dhazeghi rpm          3717 May 26 14:11 specs

I consider this behavior to be correct. What do other people think? Perhaps we
should send this to
the main gcc list? Thanks,

Dara



------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.











------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list