ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <>
Subject Re: Tar with original permission setting
Date Fri, 02 Dec 2005 14:59:06 GMT
This has been discussed many times before. Until JSR 203 
( is delivered it's basically 
impossible to do, as does not provide access to the file 
attributes from the underlying native file system.

If you absolutely need to preserve the existing file permissions (instead 
of defining your own) then you must exec the native tar executable on your 

Jeffrey E. Care (
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)

Leon Pu <> 
12/02/2005 09:32 AM
Please respond to
"Ant Users List"

Ant Usenet <>

Tar with original permission setting

Hi all,

could anybody tell me how to use Ant's tar task to tar files and
directories with their original permission setting in Linux?

Best regards,

Yahoo! DSL ? Something to write home about. 
Just $16.99/mo. or less. 

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message