Make PathUtils.setReadOnly deal with LinuxDosFileAttributeView
Comments.
MODIFY
src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java
src/test/java/org/apache/commons/io/FileUtilsDeleteDirectoryWindowsTestCase.java
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 @@ protected boolean setupSymlink(final File res, final File link) throws Exception
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()) {

[IO-701] Make PathUtils.setReadOnly deal with LinuxDosFileAttributeView
#186.

Comments.