-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > 1. Unpack the tar before the make does using the 'unpack' directive and
> > hope that the make process detects that it is unpacked.
>
> Same problem.

"hope" should of been emphasied ;-)

>
> > 2. Hack the make process to change the tar command to "tar
> > - --no-same-owner" ...
>
> Yes :)

;-)

>
> | All these files are symbolic links to other files in the same directory.
> | These symbolic links come before the destination file in the html.tar
> | archive.  There are other linked files in this html.tar where it's vice
> | versa with no problem.
>
> But if the problem is only a change ownership problem, why is there no
> error message when the destination already exists?

I assume chmod (system call) checks the file permission before a change 
occurs. The permission denyed is a permission denyed for changing ownership 
as the portage user.

>
> For example 'html/de/search/htdig/index.html' is a link to search.html
> which does not exist at the point when index.html is extracted (i think
> it's the same time when the owner should be changed), so i says 'file not
> found'. If the file would exist, there won't be an error. (See my other
> mail.)

Symbolic links can exist without their target existing.

Permissions and ownership on symbolic links is ignored by most application 
unless a specific attempt is made to check them. Accessing a symlink pointing 
to a file uses the permissions on the file rather than the symlink.

I hope this answers your question

- -- 

Daniel Black
- --
Proudly a Gentoo Linux User.
GnuPG/PGP signed and encrypted email preferred
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE//h2WTDSbtjKmTcgRAmBPAJ949ox9TMyjycZNc/1BFcd75nwAYQCgqJc4
WOChM699u4HdXyl3FMoy4dY=
=41WG
-----END PGP SIGNATURE-----


--
[EMAIL PROTECTED] mailing list

Reply via email to