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:[EMAIL PROTECTED]]
> Sent: Monday, December 18, 2000 4:06 PM
> To: '[EMAIL PROTECTED]'
> 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 
> 

Reply via email to