You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thomas Fürer (JIRA)" <ji...@apache.org> on 2016/11/07 18:38:58 UTC

[jira] [Created] (IO-517) FileUtils#copyDirectory cannot copy directory structure

Thomas Fürer created IO-517:
-------------------------------

             Summary: FileUtils#copyDirectory cannot copy directory structure
                 Key: IO-517
                 URL: https://issues.apache.org/jira/browse/IO-517
             Project: Commons IO
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.4
         Environment: Linux OS
            Reporter: Thomas Fürer


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.

{code}
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)
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)