ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Delayre <Sebastien.Dela...@manpower.fr>
Subject Problem with the tar task
Date Tue, 15 Jan 2002 09:03:11 GMT
Hi,

I found no way to set the permission on a directory when using the tar task 
:
This sample code sets the 777 permission on the files contained in the logs 
directories but does not set the 777 permissions on the directories 
itselves.
Is this a bug or is there anyway to bypass the problem ?

    <tar tarfile="${tar.dir}/Web.tar" longfile="gnu">
       <tarfileset dir="${install.dir}" mode="777">
         <include name="**/logs/**"/>
       </tarfileset>
    </tar>

Thanks
   Sebastien

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message