cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: [REMINDER] 2.1m2 release tomorrow (ant tar permissions problem)
Date Tue, 20 May 2003 07:36:18 GMT
Le Mardi, 20 mai 2003, à 09:13 Europe/Zurich, Carsten Ziegeler a écrit :

> ...I think the current ant tar task
> does not preserve permissions

I just tested under macosx/JDK 1.4.1 and I get the same result:

tar ztvf dist/cocoon-2.1m2-dev.tar.gz | cut -c 1-11 | sort -u

 From it looks like 
permissions must be explicitely set in the tar task:

<tar longfile="gnu" destfile="${dist.base}/${}-src.tar" >
   <tarfileset dir="${}/.." mode="755" username="ant" 
     <include name="${}/"/>
     <include name="${}/"/>

I have no idea if this is a new behaviour of ant, never checked before.

View raw message