<PackageReference Include="Testably.Abstractions.FileSystem.Interface" Version="10.2.0" />

System.IO.Abstractions.IFileSystemAclSupport

public interface IFileSystemAclSupport
Support ACL functionality on file system instances.

Specifies which sections of a security descriptor to save or load.

Gets a access control object that encapsulates the access control list (ACL) entries for the file or directory in the file system.

object GetAccessControl(AccessControlSections includeSections)

Gets a access control object that encapsulates the access control list (ACL) entries for the file or directory in the file system.

void SetAccessControl(object value)

Applies access control list (ACL) entries described by the value object to the file or directory in the file system.