Yes, everyone wishes ant could copy files on unix and preserve permissions. But, java doesn't recognize those permissions, so the copy cannot preserve them - it can't preserve something it does not see.
You can use 'exec' to run 'cp' and preserve permissions... Alexey Solofnenko wrote: > > Fair enough. But don't you think it might be really important to be able to > copy executable files on Unix? > > - Alexey. > > -----Original Message----- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 03, 2002 3:37 PM > To: Ant Developers List > Subject: Re: Any chance to have <copy> to preserve file permissions? > > ----- Original Message ----- > From: "Alexey Solofnenko" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 03, 2002 1:48 PM > Subject: Any chance to have <copy> to preserve file permissions? > > > Since you have <chmod> now, could you please make <copy> (and others) to > > preserve file permissions? > > > > not until you modify the java runtimes to let us actually get the perms. > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
