Maintaining permissions while copying files
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gintaras_Radzivanas
Posted On:   Friday, September 28, 2001 01:41 AM

When copying a set of files from one directory to another the existing permissions seem to be stripped and all the files in the new location end up with exactly the same permissions, making me think that its defaulting to a set value (perhaps the shell default)


Does anyone know more about this, especially about how to preserve existing permissions.


I'm using ant v1.4 on Solaris


Cheers,

Gintaras.

Re: Maintaining permissions while copying files

Posted By:   Erik_Hatcher  
Posted On:   Friday, September 28, 2001 11:27 AM

Its not possible to preserve permissions with . Here is a conversation regarding this topic on the ant-user e-mail list: http://marc.theaimsgroup.com/?l=ant-user&m=99592469007647&w=2

You can use or to set permissions, if that is a viable alternative for you.
About | Sitemap | Contact