Andrew Duncan <[EMAIL PROTECTED]> wrote:

> I'm completely new to ANT, so I'm not sure exactly how the <tar> tag
> works.
> 
> However, the "p" flag of tar has this description (in Solaris): -
> 

Ant is using a Java implementation of <tar>, not an external
program. As a result of this, <tar> is limited to Java's abilities,
which - unfortunately - means, it doesn't know the slightest thing
about file permissions or ownership.

The easiest (and ugliest) solution is to use <execon> together with a
a command line invocation of tar.

Stefan

Reply via email to