commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yair Zaslavsky (JIRA)" <>
Subject [jira] [Commented] (IO-517) FileUtils#copyDirectory cannot copy directory structure
Date Wed, 09 Nov 2016 02:01:58 GMT


Yair Zaslavsky commented on IO-517:

I wrote the following test:

    public void testFoo() {

        File f = new File("/tmp/yair\\directory");


And it manage to create me a directory called yair\directory under tmp.
If you look at the source code of  doCopyDirectory you will see that this is the method being
I also saw that the original reporter of the bug you stated at Jenkins thinks it might be
an issue of Windows mount.
I think it's wort verifying.

> FileUtils#copyDirectory cannot copy directory structure
> -------------------------------------------------------
>                 Key: IO-517
>                 URL:
>             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}
> Destination '/var/lib/jenkins_backup_mnt/FULL-2016-11-07_11-00/users/domain\username'
directory cannot be created
> at
> at
> at
> at
> {code}

This message was sent by Atlassian JIRA

View raw message