Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
AclEntryFlag defines flags for the flags component of an Access Control List (ACL) entry.
It currently does not define flags for AclEntryType.AUDIT and AclEntryType.ALARM entry types.
The flags control inheritance of ACL entries for newly created files and directories.
Flags include DIRECTORY_INHERIT, FILE_INHERIT, INHERIT_ONLY, and NO_PROPAGATE_INHERIT to manage how permissions are applied to new items within a directory.
It inherits methods from java.lang.Enum, java.lang.Object, and java.lang.Comparable for object comparison and manipulation.
Compares this object with the specified object for order.
Enum Values
public
static
final
AclEntryFlag
DIRECTORY_INHERIT
Can be placed on a directory and indicates that the ACL entry should be
added to each new directory created.
public
static
final
AclEntryFlag
FILE_INHERIT
Can be placed on a directory and indicates that the ACL entry should be
added to each new non-directory file created.
public
static
final
AclEntryFlag
INHERIT_ONLY
Can be placed on a directory but does not apply to the directory,
only to newly created files/directories as specified by the
FILE_INHERIT and DIRECTORY_INHERIT flags.
public
static
final
AclEntryFlag
NO_PROPAGATE_INHERIT
Can be placed on a directory to indicate that the ACL entry should not
be placed on the newly created directory which is inheritable by
subdirectories of the created directory.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["`AclEntryFlag` defines flags for ACL entry components, excluding `AUDIT` and `ALARM` types in this release. It provides methods for comparing enums, retrieving names, ordinal values, and hash codes, along with standard object methods. Key enum values include `DIRECTORY_INHERIT` and `FILE_INHERIT`, which add the ACL entry to new directories or files respectively, `INHERIT_ONLY` which only applies to new files/directories and `NO_PROPAGATE_INHERIT` which limits propagation to subdirectories.\n"]]