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>
3 weeks ago
..
Lab
test(lab): guard first-hidden-item enumeration over SMB
3 weeks ago
Access.Tests.ps1
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
3 weeks ago
Audit.Tests.ps1
fix: show unknown parent in InheritedFrom, and only for inherited entries
3 weeks ago
BasicUserRunner.Tests.ps1
fix(ci): preserve absolute basic-user result paths
3 weeks ago
DriveRoot.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
FileHash.Tests.ps1
test: cover relative paths, a missing drive and privilege control
3 weeks ago
Help.Tests.ps1
fix(help): ship the generated help file so Get-Help works (#93)
4 weeks ago
Inheritance.Tests.ps1
test: exercise remaining descriptor and comparison outputs
3 weeks ago
ItemCmdlets.Tests.ps1
fix: treat brackets in the filter of Get-ChildItem2 as characters
3 weeks ago
Links.Tests.ps1
test: exercise item, link and descriptor failure paths
3 weeks ago
Manifest.Tests.ps1
fix: address the review of the -Attributes and Size alias changes
4 weeks ago
ObjectApis.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
OutputTypes.Tests.ps1
test: close the follow-ups of #110 that tests can reach
3 weeks ago
Owner.Tests.ps1
test: exercise item, link and descriptor failure paths
3 weeks ago
PathErrors.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
PermissionScopes.Tests.ps1
test: cover permission scopes and folder inheritance transitions
3 weeks ago
PipelineControl.Tests.ps1
fix: end the cmdlet when a later command ends the pipeline
3 weeks ago
Privileges.Tests.ps1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
Publish-ModulePackage.Tests.ps1
fix(ci): verify package identity before publication recovery
3 weeks ago
Release.Tests.ps1
ci: publish releases from CI on a version tag, starting with 5.0.0-rc1
4 weeks ago
Remove-Item2.Tests.ps1
test: guard folder deletion and ownership recovery failures
3 weeks ago
Repository.Tests.ps1
chore(release): prepare 5.0.0-rc7
3 weeks ago
SecurityDescriptor.Tests.ps1
test: reach the owner restore of a descriptor retry and remove a deny entry from a descriptor
3 weeks ago
SecurityDescriptorSets.Tests.ps1
test: cover -PassThru and the flag parameters of Add-NTFSAccess
3 weeks ago
TestHelpers.Tests.ps1
test: share the helpers for the administrative share
3 weeks ago
TestHelpers.psm1
test: cover token handles, drive-root writes, name filters, and descriptor APIs
3 weeks ago
Wiki.Tests.ps1
docs: generate the wiki pages from Docs
4 weeks ago