You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Raimund Andree
7d1b4c5302
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
The restore test of Set-NTFSSecurityDescriptor used a deny entry for the user, which a member of the owner group Administrators does not feel, so the first write succeeded and the ownership retry never ran. A deny entry for OWNER RIGHTS stops that write also for the owner; taking ownership drops the entry, the cmdlet writes the descriptor, and the user sets the group back without the Restore privilege. A probe shows the plain write is denied in that setup in both editions.
Remove-NTFSAccess with -SecurityDescriptor and -AccessType Deny had no test, although the overload for a descriptor adds Synchronize to allow entries only.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: AI Assistant <ai@example.com>
2 days ago
..
Lab
test(lab): guard first-hidden-item enumeration over SMB
3 days ago
Access.Tests.ps1
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
2 days ago
Audit.Tests.ps1
fix: show unknown parent in InheritedFrom, and only for inherited entries
2 days ago
BasicUserRunner.Tests.ps1
fix(ci): preserve absolute basic-user result paths
3 days ago
DriveRoot.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
2 days ago
FileHash.Tests.ps1
test: cover relative paths, a missing drive and privilege control
3 days ago
Help.Tests.ps1
fix(help): ship the generated help file so Get-Help works (#93)
1 week ago
Inheritance.Tests.ps1
test: exercise remaining descriptor and comparison outputs
3 days ago
ItemCmdlets.Tests.ps1
fix: treat brackets in the filter of Get-ChildItem2 as characters
2 days ago
Links.Tests.ps1
test: exercise item, link and descriptor failure paths
3 days ago
Manifest.Tests.ps1
fix: address the review of the -Attributes and Size alias changes
7 days ago
ObjectApis.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
2 days ago
OutputTypes.Tests.ps1
test: close the follow-ups of #110 that tests can reach
4 days ago
Owner.Tests.ps1
test: exercise item, link and descriptor failure paths
3 days ago
PathErrors.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
2 days ago
PermissionScopes.Tests.ps1
test: cover permission scopes and folder inheritance transitions
3 days ago
PipelineControl.Tests.ps1
fix: end the cmdlet when a later command ends the pipeline
2 days ago
Privileges.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
2 days ago
Publish-ModulePackage.Tests.ps1
fix(ci): verify package identity before publication recovery
3 days ago
Release.Tests.ps1
ci: publish releases from CI on a version tag, starting with 5.0.0-rc1
1 week ago
Remove-Item2.Tests.ps1
test: guard folder deletion and ownership recovery failures
3 days ago
Repository.Tests.ps1
chore(release): prepare 5.0.0-rc7
3 days ago
SecurityDescriptor.Tests.ps1
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
2 days ago
SecurityDescriptorSets.Tests.ps1
test: cover -PassThru and the flag parameters of Add-NTFSAccess
4 days ago
TestHelpers.Tests.ps1
test: share the helpers for the administrative share
3 days ago
TestHelpers.psm1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
2 days ago
Wiki.Tests.ps1
docs: generate the wiki pages from Docs
1 week ago