michael orlitzky


get it

Most people will probably want the tarball of the latest release, apply-default-acl-0.4.1.tar.xz. The latest version will always be kept in git.

What is it?

A utility to apply default POSIX ACLs to files and directories.

The way some common utilities handle POSIX ACLs is busted. For more info, see Problems with POSIX ACLs and Common Utilities.


Right now, this will probably only work on Linux because I'm lazy. You'll need the sys/acl.h and acl/libacl.h headers, at least until I decide to replace acl_get_perm with something portable (or just steal it).


It's using GNU Autotools, so run ./configure && make and maybe make install if you think it's going to wind up in the right place. Otherwise you can just take the binary out of the src directory and put it somewhere in your $PATH.


Basic usage:

user $ apply-default-acl /path/to/whatever

Work recursively (from the top down):

user $ apply-default-acl --recursive /path/to/whatever

user $ apply-default-acl -r /path/to/whatever

How to report bugs

Email them to me at michael@orlitzky.com.