You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Sebastien Delayre <Se...@manpower.fr> on 2002/01/15 10:03:11 UTC
Problem with the tar task
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>