The Documentation of pylibnfs4acl¶
- Author:
Franz Glasner
- Company:
FELDMANN media group AG
- Version:
0.2.0
- Date:
2026-06-10
- Copyright:
© 2018 FELDMANN media group AG
© 2018 Franz Glasner
- License:
GNU Lesser General Public License v2.1 or later. See LGPL-2.1-or-later.txt for more details.
- Revision:
5c1ddc82db26
pylibnfs4acl is a Python project that provides a package
nfs4acl to manipulate NFSv4 style ACLs. In order to do this it
wraps the systems’s native ACL C library. For proper use some knowledge
about NFSv4 ACLS is required.
As such it is certainly not intended for novice users.
The library currently works on FreeBSD and has been used from releases 10.3 to 14.3 regularly.
It is modelled mostly after pylibacl which is a package for manipulating POSIX.1e ACLs. You will find pylibacl on the Python Package Index and its documentation on its homepage.
No external dependencies are required. Only the standard module
ctypes is needed to call into the native ACL libraries.
The package is developed and tested with Python 2.7 and Python 3.4 or
later. It is expected to work with Python 3 for versions 3.2 or later.
This has not been tested yet. Python 2.6 and Python 3.0 and Python 3.1
definitely do not work because they lack the ctypes.c_ssize_t
type.
It also runs on PyPy2 and PyPy3 and is tested currently on FreeBSD using the binary packages pypy-5.10.0, pypy3-5.10.1, pypy-6.0.0_1 and pypy3-6.0.0_1 from the ports collection.