ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: Tar lost file permissions. Anyone know how to maintain file p ermission?
Date Mon, 18 Dec 2000 22:20:42 GMT
It can't be done directly in Ant as Java has very little knowledge of
permissions; they're OS specific.

K.C.

> -----Original Message-----
> From: Zhu, Yao [mailto:Yao.Zhu@gs.com]
> Sent: Monday, December 18, 2000 4:06 PM
> To: 'ant-user@jakarta.apache.org'
> Subject: Tar lost file permissions. Anyone know how to maintain file
> permission?
> 
> 
> Hi, 
>  
> When I use tar target in unix, it loss the original file 
> permission and rest
> everything to 644. This forces me back to shell scripts.
>  
> Does anyone know how to maintain the file permissions while 
> using tar task
> in ant?
>  
> thanks.
>  
> -Yao Zhu 
> 

Mime
View raw message