DEFAULT_ACL(2) DOMAIN/IX SYS5 DEFAULT_ACL(2)
NAME
default_acl - change default file protection environment
USAGE
#include <default_acl.h>
int default_acl(switch)
int switch;
DESCRIPTION
The DOMAIN/IX system call default_acl allows programs to
change the default file protection environment between
access mode and access control list (ACL). Values for the
switch argument are defined in the include file
<default_acl.h>. They are:
USE_DEFACL Use the default ACL contained in the direc-
tory when creating a new file, pipe, or
directory.
USE_MODE Use the access mode supplied in the call,
modified by the current umask value.
USE_DEFENV Use the default for the environment in which
the program is running. Unless the contain-
ing directory has a nil initial file acl (set
using sup(8)), the default for programs run-
ning in an AEGIS environment is to use the
intial file ACL. If the containing directory
has a nil initial file acl, the default for
programs running in an AEGIS environment is
the same as for those running in a DOMAIN/IX
environment. In all cases, the default for
programs running in a DOMAIN/IX environment
is to use the appropriate access mode.
RELATED INFORMATION
chmod(2) sup(8)
Printed 12/4/86 DOMAIN System Only DEFAULT_ACL-1