Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acl_delete_def_file(3) — Tru64 UNIX 5.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acl_delete_def_fd(3)

acl_delete_def_file(3)  —  Subroutines

NAME

acl_delete_def_file − Deletes the default access ACL from the designated directory

LIBRARY

Security Library (libpacl.a)

SYNOPSIS

#include <sys/acl.h>
int acl_delete_def_file(
char ∗path_p);

PARAMETERS

path_pDesignates the path of the directory that the default access ACL is to be deleted from. 

DESCRIPTION

NOTE:  This function is based on Draft 13 of the POSIX P1003.6 standard. 

The acl_delete_def_file() function deletes the default access ACL from the directory designated by path_p. 

RETURN VALUES

Upon successful completion, the acl_delete_def_file() function returns a value of 0 (zero).  Otherwise, a value of -1 is returned and errno is set to indicate the error. 

ERRORS

If any of the following conditions occur, the acl_delete_def_file() function sets errno to the corresponding value:

[EACCES]A component of the path_p parameter has search permission denied. 

[ENAMETOOLONG]
The length of the path_p parameter exceeds PATH_MAX or a pathname component is longer than NAME_MAX. 

[ENOENT]The named file does not exist or is an empty string.  A symbolic link was named, but the file to which it refers does not exist.

[ENOTDIR]The path_p parameter is not pointing to a directory. 

[ENOTSUP]The directory referenced by the path_p parameter does not reside on a file system that supports ACLs. 

[EPERM]The user does not have the required access to the directory to remove the default access ACL. 

[EROFS]The directory referred to by the path_p parameter resides on a read-only file system. 

RELATED INFORMATION

acl_delete_def_fd(3)

Security

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