ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Jain <Eric.J...@isb-sib.ch>
Subject SCP Task & umask
Date Thu, 30 Aug 2007 15:44:55 GMT
According to http://ant.apache.org/manual/OptionalTasks/scp.html, "File 
permissions are not retained when files are copied; they end up with the 
default UMASK permissions instead". That would suite me just fine: I'm 
copying files from a Windows machine to a Linux machine, where I have 
`umask 0007` in my .bashrc. However, the files always end up with 
-rw-r----- instead of -rw-rw----, as I would expect, and if I set umask 
0000 I get -rw-r--r-- (so it does appear to be picked up). Any ideas?


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message