22 references to VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
Microsoft.TestPlatform.CoreUtilities (1)
FeatureFlag\FeatureFlag.cs (1)
99
public const string VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION = nameof(
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
);
Microsoft.TestPlatform.CrossPlatEngine (21)
PostProcessing\ArtifactProcessingManager.cs (21)
467
if (_featureFlag.IsSet(FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
))
493
$"'{path}' is not a directory. A symbolic link is not accepted, because the artifacts would be written somewhere other than the directory that was checked. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
496
throw new ArtifactDirectoryVerificationException($"Could not open '{path}', errno: {openErrno}. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
510
$"'{path}' is owned by uid {status.Value.OwnerId} rather than by uid {effectiveUserId}. The test session artifacts are not written into a directory left behind by another user. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
520
$"Could not read the owner of '{path}' (statx unavailable), and refusing to modify it while running as root. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
530
$"Could not restrict '{path}' to the current user, errno: {chmodErrno}. The test session artifacts are not written when the directory holding them cannot be protected. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this.");
580
if (_featureFlag.IsSet(FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
))
600
$"{description} is not a directory. A symbolic link is not accepted, because the artifacts would be written somewhere other than the directory that was checked. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
607
$"{description} is owned by uid {ownerId} rather than by uid {effectiveUserId}. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
615
$"{description} can be accessed by users other than its owner, it should allow the owner only. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
653
$"{description} cannot be verified, '/' is owned by uid {rootOwnerId}. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
689
$"{description} cannot be verified, because users other than its owner can replace '{entry}': '{parentPath}' can be written by its group or by everybody{((parentMode & sticky) == 0 ? " and is not sticky" : $", and '{entry}' is owned by uid {ownerId}")}. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
703
$"{description} cannot be verified, resolving it follows more than {maxSymbolicLinks} symbolic links. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
719
$"{description} cannot be verified, because '{entry}' on the way to it is owned by uid {ownerId}, who can replace what it contains. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
727
$"{description} cannot be verified, '{entry}' on the way to it is not a directory. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
755
$"{description} cannot be verified, could not read the symbolic link '{path}', errno: {Marshal.GetLastWin32Error()}. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
761
$"{description} cannot be verified, the target of the symbolic link '{path}' is too long. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
773
$"{description} cannot be verified, the target of the symbolic link '{path}' is not valid UTF-8. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
799
$"{description} cannot be verified, because statx is not available on this system. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
856
throw new ArtifactDirectoryVerificationException($"Could not read the owner and the permissions of {description}, errno: {errno}. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");
864
throw new ArtifactDirectoryVerificationException($"The status of {description} does not report the owner and the mode, so it cannot be verified. Set {FeatureFlag.
VSTEST_DISABLE_ARTIFACTS_DIRECTORY_VERIFICATION
}=1 to skip this check.");