gradle
8.5

# UserClassFilePermissions

@Incubating
interface UserClassFilePermissions(source)

Describes file and directory access permissions for a certain class of users (see FilePermissions).

Permissions consist of:

- READ access: the capability to view the contents of a file, or to list the contents of a directory
- WRITE access: the capability to modify or remove the contents of a file, or to add or remove files to/from a directory
- EXECUTE access: the capability to run a file as a program; executing a directory doesn't really make sense, it's more like a traverse permission; for example, a user must have 'execute' access to the 'bin' directory in order to execute the 'ls' or 'cd' commands.

#### Inheritors

ConfigurableUserClassFilePermissions

## Functions

getExecute
Link copied to clipboard
abstract fun getExecute(): Boolean
Describes if a certain class of users has execute access to a file or directory.
getRead
Link copied to clipboard
abstract fun getRead(): Boolean
Describes if a certain class of users has read access to a file or directory.
getWrite
Link copied to clipboard
abstract fun getWrite(): Boolean
Describes if a certain class of users has write access to a file or directory.