view doc/acl-resources.txt @ 10191:ccfd3047da72

Work around the Solaris 10 ACE ACLs ABI change.
author Bruno Haible <bruno@clisp.org>
date Tue, 10 Jun 2008 02:40:28 +0200
parents b8de08146b0d
children 41c2c09830c4
line wrap: on
line source

General introduction:
  http://www.suse.de/~agruen/acl/linux-acls/online/


POSIX ACLs

Documents from POSIX.1e (headers & functions) and POSIX.2c (utilities):
  http://wt.xpilot.org/publications/posix.1e/download.html


Linux ACLs

Introduction:
  http://www.suse.de/~agruen/acl/linux-acls/online/
Hands-on tutorial:
  http://www.vanemery.com/Linux/ACL/linux-acl.html

Manual pages:
  http://www.linuxmanpages.com/
Includes:
  <sys/acl.h>
  <acl/libacl.h>
Library:
  -lacl
Functions:
  acl_add_perm
  acl_calc_mask
  acl_check
  acl_clear_perms
  acl_cmp
  acl_copy_entry
  acl_copy_ext
  acl_copy_int
  acl_create_entry
  acl_delete_def_file
  acl_delete_entry
  acl_delete_perm
  acl_dup
  acl_entries
  acl_equiv_mode
  acl_error
  acl_extended_fd
  acl_extended_file
  acl_free
  acl_from_mode
  acl_from_text
  acl_get_entry
  acl_get_fd
  acl_get_file
  acl_get_perm
  acl_get_permset
  acl_get_qualifier
  acl_get_tag_type
  acl_init
  acl_set_fd
  acl_set_file
  acl_set_permset
  acl_set_qualifier
  acl_set_tag_type
  acl_size
  acl_to_any_text
  acl_to_text
  acl_valid
Utilities:
  getfacl
  setfacl


Solaris ACLs

Introductions:
  http://www.softpanorama.org/Solaris/ACL/index.shtml
  http://www.cs.duke.edu/csl/faqs/solaris-acls.php
Manual pages:
  http://docs.sun.com/app/docs/doc/816-5167/acl-2?l=en&a=view
  http://docs.sun.com/app/docs/doc/816-5165/getfacl-1?l=en&a=view
  http://docs.sun.com/app/docs/doc/816-5165/setfacl-1?l=en&a=view
  http://docs.sun.com/app/docs/doc/816-5167/pathconf-2?l=en&a=view
Includes:
  <sys/acl.h>
Library:
  -lsec
Functions:
  acl
  facl
Functions in libsec:
  aclcheck
  aclfrommode
  aclfromtext
  aclsort
  acltomode
  acltotext
Additionally in Solaris 10 patch 118833-17 (<sys/acl.h> version 1.15):
  acl_t type
  ACL_NO_TRIVIAL macro
  ACE_OTHER macro replaced with ACE_EVERYONE macro
  ACE_OWNER, ACE_GROUP changed their values(!)
  ALLOW, DENY macros removed(!)
  acl_check
  acl_free
  acl_fromtext
  acl_get
  acl_set
  acl_strip
  acl_totext
  acl_trivial
  facl_get
  facl_set
Utilities:
  getfacl
  setfacl
  chmod


FreeBSD ACLs

Introduction:
  http://www.freebsd.org/doc/en/books/handbook/fs-acl.html
  http://www.onlamp.com/pub/a/bsd/2005/09/22/FreeBSD_Basics.html
Manual pages:
  http://www.freebsd.org/cgi/man.cgi
  http://www.freebsd.org/cgi/man.cgi?query=acl&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html
Includes:
  <sys/acl.h>
Library:
  none needed
Functions:
  acl_add_perm
  acl_calc_mask
  acl_clear_perms
  acl_copy_entry
  acl_copy_ext
  acl_copy_int
  acl_create_entry
  acl_delete_entry
  acl_delete_fd_np
  acl_delete_file_np
  acl_delete_link_np
  acl_delete_def_file
  acl_delete_def_link_np
  acl_delete_perm
  acl_dup
  acl_free
  acl_from_text
  acl_get
  acl_get_entry
  acl_get_fd
  acl_get_fd_np
  acl_get_file
  acl_get_link_np
  acl_get_perm_np
  acl_get_permset
  acl_get_qualifier
  acl_get_tag_type
  acl_init
  acl_set
  acl_set_fd
  acl_set_fd_np
  acl_set_file
  acl_set_link_np
  acl_set_permset
  acl_set_qualifier
  acl_set_tag_type
  acl_size
  acl_to_text
  acl_valid
  acl_valid_fd_np
  acl_valid_file_np
  acl_valid_link_np
Utilities:
  getfacl
  setfacl


NetBSD ACLs

Not available.


OpenBSD ACLs

Not available.


MacOS X ACLs

Manual pages:
  http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/acl.3.html
Includes:
  <sys/acl.h>
Library:
  none needed
Functions:
  acl_add_flag_np
  acl_add_perm
  acl_calc_mask
  acl_clear_flags_np
  acl_clear_perms
  acl_copy_entry
  acl_copy_ext
  acl_copy_ext_native
  acl_copy_int
  acl_copy_int_native
  acl_create_entry
  acl_create_entry_np
  acl_delete_def_file
  acl_delete_fd_np (undeclared?)
  acl_delete_file_np (undeclared?)
  acl_delete_flag_np
  acl_delete_link_np (undeclared?)
  acl_delete_entry
  acl_delete_perm
  acl_dup
  acl_free
  acl_from_text
  acl_get_entry
  acl_get_fd
  acl_get_fd_np
  acl_get_file
  acl_get_flag_np
  acl_get_flagset_np
  acl_get_link_np
  acl_get_perm_np
  acl_get_permset
  acl_get_qualifier
  acl_get_tag_type
  acl_init
  acl_set_fd
  acl_set_fd_np
  acl_set_file
  acl_set_flagset_np
  acl_set_link_np
  acl_set_permset
  acl_set_qualifier
  acl_set_tag_type
  acl_size
  acl_to_text
  acl_valid
  acl_valid_fd_np
  acl_valid_file_np
  acl_valid_link_np
Utilities:
  chmod


HP-UX ACLs

Manual pages:
  http://docs.hp.com/en/B2355-60105/acl.2.html
  http://docs.hp.com/en/B2355-60105/lsacl.1.html
  http://docs.hp.com/en/B2355-60105/chacl.1.html
  http://docs.hp.com/en/B2355-60105/getacl.1.html
Includes:
  <acl.h> or <sys/acl.h>, optionally <aclv.h>
Library:
  none needed
Functions:
  getacl
  fgetacl
  fsetacl
  setacl
Functions only declared in <aclv.h>:
  acl
Utilities:
  lsacl
  chacl
  getacl
  setacl
  chmod


IRIX ACLs

Manual pages:
  http://techpubs.sgi.com/library/tpl/cgi-bin/browse.cgi?cmd=search&db=man&srch=acl&coll=0650&range=0,133
  http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/cat4/acl.z
Includes:
  <sys/acl.h>
Library:
  none needed
Functions:
  acl_add_perm
  acl_calc_mask
  acl_clear_perms
  acl_copy_entry
  acl_copy_ext
  acl_copy_int
  acl_create_entry
  acl_delete_def_file
  acl_delete_entry
  acl_delete_perm
  acl_dup
  acl_free
  acl_from_text
  acl_get_entry
  acl_get_fd
  acl_get_file
  acl_get_permset
  acl_get_qualifier
  acl_get_tag_type
  acl_init
  acl_set_fd
  acl_set_file
  acl_set_permset
  acl_set_qualifier
  acl_set_tag_type
  acl_size
  acl_to_short_text
  acl_to_text
  acl_valid
Utilities:
  chacl


Tru64 ACLs

Manual pages:
  http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51_HTML/MAN/MAN4/0083____.HTM
Includes:
  <sys/acl.h>
Library:
  -lpacl
Functions:
  acl_add_perm
  acl_clear_perm
  acl_copy_entry
  acl_copy_ext
  acl_copy_int
  acl_create_entry
  acl_delete_def_fd
  acl_delete_def_file
  acl_delete_entry
  acl_delete_perm
  acl_dup
  acl_first_entry
  acl_free
  acl_free_qualifier
  acl_free_text
  acl_from_text
  acl_get_entry
  acl_get_fd
  acl_get_file
  acl_get_permset
  acl_get_qualifier
  acl_get_tag_type
  acl_init
  acl_set_fd
  acl_set_file
  acl_set_permset
  acl_set_qualifier
  acl_set_tag_type
  acl_size
  acl_to_text
  acl_valid
Unportable functions:
  acl_add_entry
  acl_delete_access_fd
  acl_delete_access_file
  acl_delete_def_dir_fd
  acl_delete_def_dir_file
  acl_ext_to_text
  acl_find_entry
  acl_get
  acl_mod_perm
  acl_set
  acl_to_fmt_text
  allocate_acl_entry
  convert_to_er
  isaclprop
Utilities:
  getacl
  setacl


AIX ACLs

Documentation:
  http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.security/doc/security/access_control_list.htm
Introduction:
  http://www1.uni-hamburg.de/RRZ/Software/AIX/ACL.htm
Includes:
  <acl.h> or <sys/acl.h>
  <sys/access.h>
Library:
  none needed
Functions:
  acl_chg
  acl_fchg
  acl_fget
  acl_fput
  acl_fset
  acl_get
  acl_put
  acl_set
  chacl
  fchacl
  fstatacl
  statacl
Function in AIX 5.3:
  aclx_convert
  aclx_fget
  aclx_fput
  aclx_get
  aclx_gettypeinfo
  aclx_gettypes
  aclx_print
  aclx_printStr
  aclx_put
  aclx_scan
  aclx_scanStr
Utilities:
  aclget
  aclput
  acledit


Cygwin ACLs

Documentation:
  http://www.cygwin.com/cygwin-ug-net/ntsec.html#ntsec-aclfuncs
  acl-cygwin.txt
Includes:
  <sys/acl.h>
Library:
  none needed
Functions:
  acl
  aclcheck
  aclfrommode
  aclfrompbits
  aclfromtext
  aclsort
  acltomode
  acltopbits
  acltotext
  facl
  lacl
Utilities:
  getfacl
  setfacl


Win32 ACLs

Introduction:
  http://setacl.sourceforge.net/html/doc-basics.html
Manual pages:
  http://msdn.microsoft.com/en-us/library/aa374872(VS.85).aspx
  http://msdn.microsoft.com/en-us/library/aa446659(VS.85).aspx
  http://msdn.microsoft.com/en-us/library/aa374931(VS.85).aspx
  http://en.wikipedia.org/wiki/Cacls
Library:
  ?
Functions:
  GetAclInformation
  SetAclInformation
  ...
Utilities:
  cacls