Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(2)

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 B<default_acl.h>P.  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 environment, the program will use the default ACL; in the DOMAIN/IX environment, it will use the access mode. 

RELATED INFORMATION

chmod(2)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026