Query: acl_trivial
OS: opensolaris
Section: 3sec
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
acl_trivial(3SEC) File Access Control Library Functions acl_trivial(3SEC)NAMEacl_trivial - determine whether a file has a trivial ACLSYNOPSIScc [ flag... ] file... -lsec [ library... ] #include <sys/acl.h> int acl_trivial(char *path);DESCRIPTIONThe acl_trivial() function is used to determine whether a file has a trivial ACL. Whether an ACL is trivial depends on the type of the ACL. A POSIX draft ACL is trivial if it has greater than MIN_ACL_ENTRIES. An NFSv4/ZFS-style ACL is trivial if it either has entries other than owner@, group@, and everyone@, has inheritance flags set, or is not ordered in a manner that meets POSIX access control requirements.RETURN VALUESUpon successful completion, acl_trivial() returns 0 if the file's ACL is trivial and 1 if the file's ACL is not trivial. If it could not be determined whether a file's ACL is trivial, -1 is returned and errno is set to indicate the error.ERRORSThe acl_trivial() function will fail if: EACCES A file's ACL could not be read. ENOENT A component of path does not name an existing file or path is an empty string.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+SEE ALSOacl(5), attributes(5) SunOS 5.11 6 Oct 2005 acl_trivial(3SEC)
Related Man Pages |
---|
acl_set(3sec) - opensolaris |
acl_is_trivial_np(3) - freebsd |
aclcheck(3sec) - sunos |
aclcheck(3sec) - debian |
aclcheck(3sec) - v7 |
Similar Topics in the Unix Linux Community |
---|
how to backup with ACL |
Configuring ACL on AIX 5.3 |
Cut text from a file |
include files |
Repeative Output |