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 for the scp by sftp protocol, we will be able to use sftp's 'chmod'
after uploading
files.

<http://issues.apache.org/bugzilla/show_bug.cgi?id=43271>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to