ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: <copy> task strips permissions?
Date Tue, 24 Jul 2001 00:02:59 GMT
Because the <copy> task is implemented in Java and Java has limited idea
about Unix file permissions. If you want to do a Unix copy, use the <exec>
command to access the operating system's copy functionality.

Conor

-----Original Message-----
From: Shankar Unni [mailto:shankar@intruvert.com]
Sent: Tuesday, 24 July 2001 7:42 AM
To: 'ant-user@jakarta.apache.org'
Subject: <copy> task strips permissions?


I just noticed that the <copy> task seems to strip out the "x" permission
from the files it copies. Why? (1.3, on Linux, if it matters).
I now have to put a <chmod> to change the target permissions back.
--
Shankar Unni            IntruVert Networks, Inc.
shankar@intruvert.com   (408) 434-8311


Mime
View raw message