Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32733

Publish over SSH plugin doesn't preserve permissions

      The publish over SSH plugin isn't preserving executable permission for some scripts I would like to copy and run on a remote server. This is on Jenkins version 1.623.

      The remote server is on OpenSUSE 13.2, the Jenkins server is CentOS 7.1.

          [JENKINS-32733] Publish over SSH plugin doesn't preserve permissions

          David Gloe created issue -
          Brandon Raper made changes -
          Comment [ I can confirm this behavior. Executable bit is set in source and workspace, when transferred to destination, sets all files with 644 permissions.

          Janky workaround is to add 'chmod +x /path/to/file/filename' in the Configure > Exec command - but this gets a bit ugly if you have subdirectories...

          JENKINS: v1.646
          Publish Over SSH v1.13 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168397 ] New: JNJira + In-Review [ 183108 ]
          Alex Earl made changes -
          Assignee Original: bap [ bap ] New: Alex Earl [ slide_o_mix ]
          Alex Earl made changes -
          Assignee Original: Alex Earl [ slide_o_mix ]

          For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues

          Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/145
          And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-32733%22

          (Note: this is an automated bulk comment)

          Gavin McDonald added a comment - For your information, all publish-over-ssh component type JENKINS issues related to the Publish Over SSH plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-ssh-plugin/issues/145 And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-ssh-plugin/issues?q=%22JENKINS-32733%22 (Note: this is an automated bulk comment)

          Closing ticket, please use the corresponding Github Issue as linked above.

          Gavin McDonald added a comment - Closing ticket, please use the corresponding Github Issue as linked above.
          Gavin McDonald made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            dgloe David Gloe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: