Re: SCP Task & umask

2007-09-03 Thread Steve Loughran
Atsuhiko Yamanaka wrote: Hi, 2007/8/31, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]>: The default umask is determined by the ssh server. I think it is set at compile time. Same with $PATH. Your .bashrc is not read when you use scp. You should see the same results when using scp on the comma

Re: SCP Task & umask

2007-08-31 Thread Eric Jain
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

Re: SCP Task & umask

2007-08-30 Thread Atsuhiko Yamanaka
Hi, 2007/8/31, Anderson, Rob (Global Trade) <[EMAIL PROTECTED]>: > The default umask is determined by the ssh server. I think it is set at > compile time. Same with $PATH. Your .bashrc is not read when you use > scp. You should see the same results when using scp on the command line. I have not t

RE: SCP Task & umask

2007-08-30 Thread Anderson, Rob (Global Trade)
The default umask is determined by the ssh server. I think it is set at compile time. Same with $PATH. Your .bashrc is not read when you use scp. You should see the same results when using scp on the command line. -Rob Anderson > -Original Message- > From: Eric Jain [mailto:[EMAIL PROTECT