ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
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 
(http://www.jcp.org/en/jsr/detail?id=203) is delivered it's basically 
impossible to do, as java.io.File 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 
platform.

JEC
-- 
Jeffrey E. Care (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)




Leon Pu <leon_xf_pu@yahoo.com.cn> 
12/02/2005 09:32 AM
Please respond to
"Ant Users List"


To
Ant Usenet <user@ant.apache.org>
cc

Subject
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,
Leon


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


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



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