[ 
https://issues.apache.org/jira/browse/IO-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17305596#comment-17305596
 ] 

Gary D. Gregory commented on IO-725:
------------------------------------

The build is green on GitHub master here 
[https://github.com/apache/commons-io/actions]

Is this issue only reproducible on macos?

 

> FileUtilsDeleteDirectoryLinuxTestCase fails on Mac
> --------------------------------------------------
>
>                 Key: IO-725
>                 URL: https://issues.apache.org/jira/browse/IO-725
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>         Environment: MacOS Version 11.2.3 (Big Sur) on Java 11.0.9 Maven 3.6.3
> MacOS Version 10.14.6 (Mojave) on Java 15.0.2 Maven 3.6.1
>            Reporter: Brian Zou
>            Priority: Minor
>         Attachments: Text-Log.txt
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> After cloning the repository using the command line and running the code on a 
> MacBook Pro there is one test error, as shown below.
> {code:java}
> -------------------------------------------------------------------------------
> Test set: org.apache.commons.io.FileUtilsDeleteDirectoryLinuxTestCase
> -------------------------------------------------------------------------------
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.175 s <<< 
> FAILURE! - in org.apache.commons.io.FileUtilsDeleteDirectoryLinuxTestCase
> org.apache.commons.io.FileUtilsDeleteDirectoryLinuxTestCase.testDeleteInvalidLinks
>   Time elapsed: 0.004 s  <<< ERROR!
> org.apache.commons.io.IOExceptionList: 
> /var/folders/zz/szdyqxvs5lg94f9ffy016bsr0000gn/T/junit12436802239416119036/realParentDirC
> Caused by: java.io.IOException: Cannot delete file: 
> /var/folders/zz/szdyqxvs5lg94f9ffy016bsr0000gn/T/junit12436802239416119036/realParentDirC/realChildDirD
> Caused by: java.nio.file.AccessDeniedException: 
> /var/folders/zz/szdyqxvs5lg94f9ffy016bsr0000gn/T/junit12436802239416119036/realParentDirC/realChildDirD
> {code}
> This error was also reproduced in an iMac. The pom.xml version is the 
> 2.9.0-SNAPSHOT, which comes from the GitHub repository here: [Apache 
> Commons-io pom.xml|https://github.com/apache/commons-io/blob/master/pom.xml] 
> The logs are attached below as a txt attachment.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to