Added in API level 26

AclEntryPermission

class AclEntryPermission
kotlin.Any
   ↳ kotlin.Enum<java.nio.file.attribute.AclEntryPermission>
   ↳ java.nio.file.attribute.AclEntryPermission

Defines the permissions for use with the permissions component of an ACL entry.

Summary

Enum values

Permission to append data to a file.

Permission to delete the file.

Permission to delete a file or directory within a directory.

Permission to execute a file.

Permission to read the ACL attribute.

The ability to read (non-acl) file attributes.

Permission to read the data of the file.

Permission to read the named attributes of a file.

Permission to access file locally at the server with synchronous reads and writes.

Permission to write the ACL attribute.

The ability to write (non-acl) file attributes.

Permission to modify the file's data.

Permission to write the named attributes of a file.

Permission to change the owner.

Properties
static AclEntryPermission!

Permission to add a new file to a directory (equal to WRITE_DATA)

static AclEntryPermission!

Permission to create a subdirectory to a directory (equal to APPEND_DATA)

static AclEntryPermission!

Permission to list the entries of a directory (equal to READ_DATA)

Enum values

APPEND_DATA

Added in API level 26
enum val APPEND_DATA : AclEntryPermission

Permission to append data to a file.

DELETE

Added in API level 26
enum val DELETE : AclEntryPermission

Permission to delete the file.

DELETE_CHILD

Added in API level 26
enum val DELETE_CHILD : AclEntryPermission

Permission to delete a file or directory within a directory.

EXECUTE

Added in API level 26
enum val EXECUTE : AclEntryPermission

Permission to execute a file.

READ_ACL

Added in API level 26
enum val READ_ACL : AclEntryPermission

Permission to read the ACL attribute.

READ_ATTRIBUTES

Added in API level 26
enum val READ_ATTRIBUTES : AclEntryPermission

The ability to read (non-acl) file attributes.

READ_DATA

Added in API level 26
enum val READ_DATA : AclEntryPermission

Permission to read the data of the file.

READ_NAMED_ATTRS

Added in API level 26
enum val READ_NAMED_ATTRS : AclEntryPermission

Permission to read the named attributes of a file.

RFC 3530: Network File System (NFS) version 4 Protocol defines named attributes as opaque files associated with a file in the file system.

SYNCHRONIZE

Added in API level 26
enum val SYNCHRONIZE : AclEntryPermission

Permission to access file locally at the server with synchronous reads and writes.

WRITE_ACL

Added in API level 26
enum val WRITE_ACL : AclEntryPermission

Permission to write the ACL attribute.

WRITE_ATTRIBUTES

Added in API level 26
enum val WRITE_ATTRIBUTES : AclEntryPermission

The ability to write (non-acl) file attributes.

WRITE_DATA

Added in API level 26
enum val WRITE_DATA : AclEntryPermission

Permission to modify the file's data.

WRITE_NAMED_ATTRS

Added in API level 26
enum val WRITE_NAMED_ATTRS : AclEntryPermission

Permission to write the named attributes of a file.

RFC 3530: Network File System (NFS) version 4 Protocol defines named attributes as opaque files associated with a file in the file system.

WRITE_OWNER

Added in API level 26
enum val WRITE_OWNER : AclEntryPermission

Permission to change the owner.

Properties

ADD_FILE

Added in API level 26
static val ADD_FILE: AclEntryPermission!

Permission to add a new file to a directory (equal to WRITE_DATA)

ADD_SUBDIRECTORY

Added in API level 26
static val ADD_SUBDIRECTORY: AclEntryPermission!

Permission to create a subdirectory to a directory (equal to APPEND_DATA)

LIST_DIRECTORY

Added in API level 26
static val LIST_DIRECTORY: AclEntryPermission!

Permission to list the entries of a directory (equal to READ_DATA)