Share via


PathPermissions Class

Definition

Represents POSIX-style permissions on a given resource. Each resource specifies permissions for the owner, the owning group, and everyone else. Permissions for users or groups not included here can be set using an Access Control List. Manipulating resource permissions is only supported when ADLS interop is enabled.

public class PathPermissions
type PathPermissions = class
Public Class PathPermissions
Inheritance
PathPermissions

Constructors

PathPermissions()

Internal empty constructor.

PathPermissions(RolePermissions, RolePermissions, RolePermissions, Boolean, Boolean)

Public constructor.

Properties

ExtendedAcls

Whether or not there is more permissions information in the ACLs. The permissions string only returns information on the owner, owning group, and other, but the ACLs may contain more permissions for specific users or groups.

Group

The RolePermissions for the owning group of the resource.

Other

The RolePermissions for the other users.

Owner

The RolePermissions for the owner of the resource.

StickyBit

If the sticky bit has been set. The sticky bit may be set on directories, the files in that directory may only be renamed or deleted by the file's owner, the directory's owner, or the root user.

Methods

ParseOctalPermissions(String)

Parses a string in octal format to PathPermissions.

ParseSymbolicPermissions(String)

Parses a symbolic string to PathPermissions.

ToOctalPermissions()

Returns the octal representation of this PathPermissions as a string.

ToSymbolicPermissions()

Returns the symbolic represenation of this PathPermissions as a string.

Applies to