Gentoo Archives: gentoo-user

From: Chris Fairles <cafairle@×××××××××××××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Permission problem, emerge jpeg-mmx-0.1.6-r1 as root
Date: Sun, 21 Aug 2005 12:31:53
Message-Id: 430872DC.1040903@engmail.uwaterloo.ca
1 Unpacks and compiles fine. When it comes time to install, src_install
2 runs "make install-headers", from the Makefile this entails,
3
4 install-headers: jconfig.h
5 $(INSTALL_DATA) jconfig.h $(includedir)/jconfig.h
6 $(INSTALL_DATA) $(srcdir)/jpeglib.h $(includedir)/jpeglib.h
7 $(INSTALL_DATA) $(srcdir)/jmorecfg.h $(includedir)/jmorecfg.h
8 $(INSTALL_DATA) $(srcdir)/jerror.h $(includedir)/jerror.h
9 $(INSTALL_DATA) $(srcdir)/jinclude.h $(includedir)/jinclude.h
10
11 where includedir = /usr/include/jpeg-mmx
12
13 However, as root, I run emerge and i get this:
14
15 /bin/install -c -m 644 jconfig.h /usr/include/jpeg-mmx/jconfig.h
16 ACCESS DENIED open_wr: /usr/include/jpeg-mmx/jconfig.h
17 /bin/install: cannot create regular file
18 `/usr/include/jpeg-mmx/jconfig.h': Permission denied
19
20 However, as root I can certainly copy all the files manually to where
21 they need to be.
22
23 /usr
24 drwxr-xr-x 179 root root 12816 Aug 21 08:09 include
25
26 /var/tmp/portage/jpeg-mmx-0.1.6-r1/work/jpeg-mmx
27 -rw-r--r-- 1 root root 1258 Aug 21 08:21 jconfig.h
28
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Permission problem, emerge jpeg-mmx-0.1.6-r1 as root Francesco Talamona <ti.liame@×××××.it>
Re: [gentoo-user] Permission problem, emerge jpeg-mmx-0.1.6-r1 as root Rumen Yotov <rumen_yotov@×××.bg>