Skip to content

Commit

Permalink
spring-projectsGH-3026: Fixed octal permission
Browse files Browse the repository at this point in the history
fixed
  • Loading branch information
joaquinjsb committed Oct 16, 2019
1 parent b856fe2 commit 52e4517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -198,7 +198,7 @@ public void testFtpOutboundFlowWithChmod() {
.handle(Ftp.outboundAdapter(sessionFactory(), FileExistsMode.FAIL)
.useTemporaryFileName(false)
.fileNameExpression("headers['" + FileHeaders.FILENAME + "']")
.chmod(644)
.chmod(0644)
.remoteDirectory("ftpTarget"));
IntegrationFlowRegistration registration = this.flowContext.registration(flow).register();
String fileName = "foo.file";
Expand Down
Expand Up @@ -154,7 +154,7 @@ public void testSftpOutboundFlowWithChmod() {
IntegrationFlow flow = f -> f.handle(Sftp.outboundAdapter(sessionFactory(), FileExistsMode.FAIL)
.useTemporaryFileName(false)
.fileNameExpression("headers['" + FileHeaders.FILENAME + "']")
.chmod(644)
.chmod(0644)
.remoteDirectory("sftpTarget"));
IntegrationFlowRegistration registration = this.flowContext.registration(flow).register();
String fileName = "foo.file";
Expand Down

0 comments on commit 52e4517

Please sign in to comment.