Skip to content

System.IO.FileSystem.AccessControl tests leave behind files ACL'ed to be difficult to delete #44766

@MattGal

Description

@MattGal

https://github.com/dotnet/runtime/blob/master/src/libraries/System.IO.FileSystem.AccessControl/tests/FileSystemAclExtensionsTests.cs#L475

In checking out some helix machines, I found various leftovers from these tests, some of which result in creating files and directories which are specific deny-acl'ed for all users.

Ideally any changes done like this could be cleaned up via a finally() block, since if a real user runs these tests locally their personal temp folder could be clogged up with the same.

Metadata

Metadata

Labels

Cost:SWork that requires one engineer up to 1 weekPriority:3Work that is nice to havearea-System.IOtest-bugProblem in test source code (most likely)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions