Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ acl_delete_def_fd(3) — Tru64 UNIX 4.0f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

acl_delete_def_file(3)

acl_delete_def_fd(3)  —  Subroutines

NAME

acl_delete_def_fd − Deletes the default access ACL from the designated directory

LIBRARY

Security Library (libpacl.a)

SYNOPSIS

#include <sys/acl.h> int acl_delete_def_fd (
int fd);

PARAMETERS

fdRefers to the open file descriptor for 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 function may change as the P1003.6 standard is finalized. 

The acl_delete_def_fd() function deletes the default access ACL from the directory designated by fd. 

RETURN VALUES

Upon successful completion, the acl_delete_def_fd 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_fd() function sets errno to the corresponding value:

[EBADF]The parameter fd is not a valid file descriptor open for writing. 

[ENOTDIR]The object referenced by fd is not a directory. 

[ENOTSUP]The object referenced by fd 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 ACL. 

[EROFS]The object referred to by fd resides on a read-only file system. 

[ENOSYS]ACLs are not enabled on the system and the setting of default ACLs may only occur when ACLs are enabled. 

RELATED INFORMATION

acl_delete_def_file(3)

Security

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