Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-517

FileUtils#copyDirectory cannot copy directory structure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.4
    • None
    • Utilities
    • None
    • Linux OS

    Description

      Have a directory structure like ..\users/domain\username and would copy the folder users with all subfolders and files. the problem now is that domain\username is a folder which is generated by ldap connecting the domain and the username with a backslash.

      java.io.IOException: Destination '/var/lib/jenkins_backup_mnt/FULL-2016-11-07_11-00/users/domain\username' directory cannot be created
      at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1416)
      at org.apache.commons.io.FileUtils.doCopyDirectory(FileUtils.java:1426)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1389)
      at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1310)
      

      https://issues.jenkins-ci.org/browse/JENKINS-39546

      Attachments

        Activity

          People

            Unassigned Unassigned
            tofuatjava Thomas F├╝rer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: