Atsuhiko Yamanaka wrote:
I have not tried it by myself yet, but it seems scp1 protocol allows
us to choose
the umask in sending files and creating directories.
In the class,
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage
the method 'sendFileToRemote' has explicitly chosen '0644'.
As
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 00
targetfile=".my_day_old_file"
> srcfile="${my.file}"/>
>
>
>
--
Eric Jain
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]