This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git


The following commit(s) were added to refs/heads/master by this push:
     new 8588c9c  [IO-701] Make PathUtils.setReadOnly deal with 
LinuxDosFileAttributeView #186.
8588c9c is described below

commit 8588c9c162c12ce6ac2654f80d3bd3bdae8ae351
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Fri Jan 15 09:40:48 2021 -0500

    [IO-701] Make PathUtils.setReadOnly deal with LinuxDosFileAttributeView
    #186.
    
    Comments.
---
 .../org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java
 
b/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java
index 6678a6c..1145206 100644
--- 
a/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java
+++ 
b/src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.condition.EnabledOnOs;
 import org.junit.jupiter.api.condition.OS;
 
 /**
- * Requires Windows admin karma.
+ * Requires Windows admin karma or you get "You do not have sufficient 
privilege to perform this operation."
  */
 @EnabledOnOs(OS.WINDOWS)
 public class FileUtilsDeleteDirectoryWindowsTestCase extends 
FileUtilsDeleteDirectoryBaseTestCase {
@@ -37,6 +37,7 @@ public class FileUtilsDeleteDirectoryWindowsTestCase extends 
FileUtilsDeleteDire
         final List<String> args = new ArrayList<>();
         args.add("cmd");
         args.add("/C");
+        // Requires Windows admin karma or you get "You do not have sufficient 
privilege to perform this operation."
         args.add("mklink");
 
         if (res.isDirectory()) {

Reply via email to