1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
|
5 |
> > 1. Unpack the tar before the make does using the 'unpack' directive and |
6 |
> > hope that the make process detects that it is unpacked. |
7 |
> |
8 |
> Same problem. |
9 |
|
10 |
"hope" should of been emphasied ;-) |
11 |
|
12 |
> |
13 |
> > 2. Hack the make process to change the tar command to "tar |
14 |
> > - --no-same-owner" ... |
15 |
> |
16 |
> Yes :) |
17 |
|
18 |
;-) |
19 |
|
20 |
> |
21 |
> | All these files are symbolic links to other files in the same directory. |
22 |
> | These symbolic links come before the destination file in the html.tar |
23 |
> | archive. There are other linked files in this html.tar where it's vice |
24 |
> | versa with no problem. |
25 |
> |
26 |
> But if the problem is only a change ownership problem, why is there no |
27 |
> error message when the destination already exists? |
28 |
|
29 |
I assume chmod (system call) checks the file permission before a change |
30 |
occurs. The permission denyed is a permission denyed for changing ownership |
31 |
as the portage user. |
32 |
|
33 |
> |
34 |
> For example 'html/de/search/htdig/index.html' is a link to search.html |
35 |
> which does not exist at the point when index.html is extracted (i think |
36 |
> it's the same time when the owner should be changed), so i says 'file not |
37 |
> found'. If the file would exist, there won't be an error. (See my other |
38 |
> mail.) |
39 |
|
40 |
Symbolic links can exist without their target existing. |
41 |
|
42 |
Permissions and ownership on symbolic links is ignored by most application |
43 |
unless a specific attempt is made to check them. Accessing a symlink pointing |
44 |
to a file uses the permissions on the file rather than the symlink. |
45 |
|
46 |
I hope this answers your question |
47 |
|
48 |
- -- |
49 |
|
50 |
Daniel Black |
51 |
- -- |
52 |
Proudly a Gentoo Linux User. |
53 |
GnuPG/PGP signed and encrypted email preferred |
54 |
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8 |
55 |
-----BEGIN PGP SIGNATURE----- |
56 |
Version: GnuPG v1.2.3 (GNU/Linux) |
57 |
|
58 |
iD8DBQE//h2WTDSbtjKmTcgRAmBPAJ949ox9TMyjycZNc/1BFcd75nwAYQCgqJc4 |
59 |
WOChM699u4HdXyl3FMoy4dY= |
60 |
=41WG |
61 |
-----END PGP SIGNATURE----- |
62 |
|
63 |
|
64 |
-- |
65 |
gentoo-dev@g.o mailing list |