ConfigurableUserClassFilePermissions
public interface UserClassFilePermissions
FilePermissions
).
Permissions consist of:
Modifier and Type | Method | Description |
---|---|---|
boolean |
getExecute() |
Describes if a certain class of users has execute access to a file or directory.
|
boolean |
getRead() |
Describes if a certain class of users has read access to a file or directory.
|
boolean |
getWrite() |
Describes if a certain class of users has write access to a file or directory.
|
boolean getRead()
Read access is the capability to view the contents of a file, or to list the contents of a directory.
boolean getWrite()
Write access is the capability to modify or remove the contents of a file, or to add or remove files to/from a directory.
boolean getExecute()
Execute access is 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.