Gentoo Archives: gentoo-user

From: Francesco Talamona <ti.liame@×××××.it>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Permission problem, emerge jpeg-mmx-0.1.6-r1 as root
Date: Sun, 21 Aug 2005 14:57:44
Message-Id: 200508211648.58531.ti.liame@email.it
In Reply to: [gentoo-user] Permission problem, emerge jpeg-mmx-0.1.6-r1 as root by Chris Fairles
1 On Sunday 21 August 2005 14:26, Chris Fairles wrote:
2 > Unpacks and compiles fine. When it comes time to install, src_install
3 > runs "make install-headers", from the Makefile this entails,
4 >
5 > install-headers: jconfig.h
6 > $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
7 > $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
8 > $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
9 > $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
10 > $(INSTALL_DATA) $(srcdir)/jinclude.h $(includedir)/jinclude.h
11 >
12 > where includedir = /usr/include/jpeg-mmx
13 >
14 > However, as root, I run emerge and i get this:
15 >
16 > /bin/install -c -m 644 jconfig.h /usr/include/jpeg-mmx/jconfig.h
17 > ACCESS DENIED open_wr: /usr/include/jpeg-mmx/jconfig.h
18 > /bin/install: cannot create regular file
19 > `/usr/include/jpeg-mmx/jconfig.h': Permission denied
20 >
21 > However, as root I can certainly copy all the files manually to where
22 > they need to be.
23 >
24 > /usr
25 > drwxr-xr-x 179 root root 12816 Aug 21 08:09 include
26 >
27 > /var/tmp/portage/jpeg-mmx-0.1.6-r1/work/jpeg-mmx
28 > -rw-r--r-- 1 root root 1258 Aug 21 08:21 jconfig.h
29
30 See http://bugs.gentoo.org/show_bug.cgi?id=103210
31
32 Ciao
33 Francesco
34 --
35 Linux Version 2.6.12-gentoo-r6, Compiled #2 Wed Jul 27 18:03:14 CEST
36 2005
37 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4308.99 Bogomips Total
38 aemaeth
39 --
40 gentoo-user@g.o mailing list