Content-type: text/html Man page of acl_delete_def_file

acl_delete_def_file

Section: C Library Functions (3)
Index Return to Main Contents
 

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

Designates 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 function may change as the P1003.6 standard is finalized.

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:

The path_p is not pointing to a directory. The object referenced by path_p does not reside on a file system that supports ACLs. The user does not have the required access to the directory to remove the default access ACL. The object referred to by path_p resides on a read-only file system. ACLs are not enabled on the system and the setting of default access ACLs occurs only when ACLs are enabled.  

RELATED INFORMATION

acl_delete_def_fd(3)

Security delim off


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
ERRORS
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:06 GMT, October 02, 2010