acl_delete_def_file man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



ACL_DELETE_DEF_FILE(3C)				       ACL_DELETE_DEF_FILE(3C)

NAME
     acl_delete_def_file - delete the default ACL for a named directory

SYNOPSIS
     #include <sys/acl.h>

     int acl_delete_def_file(const char *path);

DESCRIPTION
     Deletes the default ACL associated with the directory specified in path.
     The effective UID of the process must match the owner of the directory or
     the process must have appropriate privilege to delete the default ACL
     from path_p.  If capabilities are not enabled, only the superuser can
     delete the default ACL from a directory not owned by the effective UID.
     If _POSIX_CAP is in effect, then the appropriate capability shall include
     CAP_FOWNER.  In addition, if _POSIX_MAC is in effect, then the process
     must have MAC write access to the directory.

     If the argument path is not a directory, then the function fails.

RETURN VALUES
     acl_delete_def_file returns 0 if successful, -1 otherwise.

ERRORS
     EACCESS	     Search permission is denied for a component of the path
		     prefix or the object exists and the process does not have
		     appropriate access rights.

     ENAMETOOLONG    The length of the pathname argument is greater than
		     PATH_MAX, or some component of it is greater than
		     NAME_MAX.

     ENOENT	     The directory does not exist or path points to an empty
		     string.

     ENOTDIR	     path is not a directory.

     EPERM	     The process does not have appropriate privilege to
		     perform the operation to delete the default ACL.

     EROFS	     This function requires modification of a file system
		     which is currently read-only.

SEE ALSO
     acl(4)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net