michael orlitzky

apply-default-acl

get it

Most people will probably want the tarball of the latest release, apply-default-acl-0.4.2.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 the articles I've written about this stuff:

Requirements

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

Installation

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.

Usage

The main thing it does is take a default ACL from a parent directory and apply it to a child (file or directory). 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.