Gentoo Archives: gentoo-user

From: Rumen Yotov <rumen_yotov@×××.bg>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Permission problem, emerge jpeg-mmx-0.1.6-r1 as root
Date: Sun, 21 Aug 2005 15:44:07
Message-Id: 43089E30.50207@dir.bg
In Reply to: [gentoo-user] Permission problem, emerge jpeg-mmx-0.1.6-r1 as root by Chris Fairles
1 Chris Fairles wrote:
2
3 > Unpacks and compiles fine. When it comes time to install,
4 > src_install runs "make install-headers", from the Makefile this
5 > entails,
6 >
7 > install-headers: jconfig.h
8 > $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
9 > $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
10 > $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
11 > $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
12 > $(INSTALL_DATA) $(srcdir)/jinclude.h $(includedir)/jinclude.h
13 >
14 > where includedir = /usr/include/jpeg-mmx
15 >
16 > However, as root, I run emerge and i get this:
17 >
18 > /bin/install -c -m 644 jconfig.h /usr/include/jpeg-mmx/jconfig.h
19 > ACCESS DENIED open_wr: /usr/include/jpeg-mmx/jconfig.h
20 > /bin/install: cannot create regular file
21 > `/usr/include/jpeg-mmx/jconfig.h': Permission denied
22 >
23 > However, as root I can certainly copy all the files manually to
24 > where they need to be.
25 >
26 > /usr
27 > drwxr-xr-x 179 root root 12816 Aug 21 08:09 include
28 >
29 > /var/tmp/portage/jpeg-mmx-0.1.6-r1/work/jpeg-mmx
30 > -rw-r--r-- 1 root root 1258 Aug 21 08:21 jconfig.h
31 >
32 Hi,
33 Look at BUG-103210 (b.g.o) this issue/problem is solved.
34 Rumen

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature

Replies

Subject Author
Re: [gentoo-user] Permission problem, emerge jpeg-mmx-0.1.6-r1 as root Tony Davison <tony.davison2@××××××××.com>