Make PathUtils.setReadOnly deal with LinuxDosFileAttributeView
Comments.
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()) {
