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

  man pages->IRIX man pages -> acl_delete_def_file (3c)              
Title
Content
Arch
Section
 

Contents


ACL_DELETE_DEF_FILE(3C)				       ACL_DELETE_DEF_FILE(3C)


NAME    [Toc]    [Back]

     acl_delete_def_file - delete the default ACL for a	named directory

SYNOPSIS    [Toc]    [Back]

     #include <sys/acl.h>

     int acl_delete_def_file(const char	*path);

DESCRIPTION    [Toc]    [Back]

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

     acl_delete_def_file returns 0 if successful, -1 otherwise.

ERRORS    [Toc]    [Back]

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

      
      
     acl(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gldeletetextures IRIX delete named textures
gldeletetexturesext IRIX delete named textures
glDeleteTextures Tru64 delete named textures
sgi_getcapabilitybyname IRIX get the default and allowed capability sets for a named user
sgi_getclearancebyname IRIX get the default and allowed mac label range for a named user
configdefaultRoute IRIX add or delete a default route
rmdir Linux delete a directory
mktemp Tru64 Create a secure and uniquely named file or directory
acl_delete_def_file Tru64 Deletes the default access ACL from the designated directory
acl_delete_def_fd Tru64 Deletes the default access ACL from the designated directory
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service