*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> acl_delete_def_file (3)              



NAME    [Toc]    [Back]

       acl_delete_def_file  - Deletes the default access ACL from
       the designated directory

SYNOPSIS    [Toc]    [Back]

       #include <sys/acl.h>

       int acl_delete_def_file(
               char *path_p );

LIBRARY    [Toc]    [Back]

       Security Library (libpacl.a)

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

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

       A component of the path_p parameter has search  permission
       denied.   The  length  of  the  path_p  parameter  exceeds
       PATH_MAX or a pathname component is longer than  NAME_MAX.
       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.  The path_p parameter is not pointing to a
       directory.  The directory referenced by the path_p parameter
  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 directory
       referred to by the path_p parameter resides on a read-only
       file system.

SEE ALSO    [Toc]    [Back]



[ Back ]
 Similar pages
Name OS Title
acl_get_file Tru64 Given the pathname to a file or directory, retrieve the designated ACL
acl_set_file Tru64 Sets the ACL on the file or directory designated by the path name
acl_set_fd Tru64 Sets the ACL on the file or directory designated by the file descriptor
delete_directory HP-UX Deletes a directory
delete_replica HP-UX Deletes a read-only replica of a directory from a clearinghouse
uucleanup Tru64 Deletes selected old files from the uucp spool directory
acl_delete_def_file IRIX delete the default ACL for a named directory
cd_defs Tru64 sets or gets default values for the User or Group ID, or for file or directory permissions
ldap IRIX Lightweight Directory Access Protocol (Client)
setacl Tru64 Changes the specified access control list (ACL) on a file or directory
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service