jenkinsci/publish-over-ssh-plugin

Copy directory permissions

Opened this issue · 0 comments

Jenkins and plugins versions report

Jenkins: 2.289.1
OS: Linux - 5.13.0-51-generic

bouncycastle-api:2.20
command-launcher:1.2
credentials:2.6.1
jaxb:2.3.0
jdk-tool:1.0
jsch:0.1.55.2
publish-over:0.22
publish-over-ssh:1.25-SNAPSHOT (private-bb57d76d-tyantimirov)
script-security:1.75
ssh-credentials:1.18.1
sshd:3.0.3
structs:1.23
trilead-api:1.0.13

What Operating System are you using (both controller, and any agents involved in the problem)?

Linux

Reproduction steps

Uses chmod from com.jcraft.jsch.ChannelSftp.

Expected Results

Copying directories and their permissions

Actual Results

Copying directories

Anything else?

Extended plugin with copying files and their permissions, and it work's correctly (PR - REC-SPb-ETU@967c1a2), but it doesn't work with directories and their permissions. Solution used chmod from com.jcraft.jsch.ChannelSftp.