DEFAULT_ACL(2) DOMAIN/IX Reference Manual (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 <default_acl.h>. They are:
USE_DEFACL -- Use the default ACL contained in the
directory 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. In the DOMAIN environ-
ment, the program will use the default ACL; in the
DOMAIN/IX environment, it will use the access mode.
(This is the default.)
RELATED INFORMATION
chmod(2), creat(2), mknod(2), open(2), umask(2),
Printed 5/10/85 DEFAULT_ACL-1