Skip to content

Instantly share code, notes, and snippets.

@eamartin
Created August 20, 2013 05:01
Show Gist options
  • Save eamartin/6277265 to your computer and use it in GitHub Desktop.
Save eamartin/6277265 to your computer and use it in GitHub Desktop.
% id
uid=999(nerds) gid=999(nerds) groups=999(nerds)
% getfacl data
# file: data
# owner: emartin
# group: emartin
user::rwx
user:nerds:rw-
user:emartin:rwx
user:walter:rwx
group::rwx
mask::rwx
other::r-x
default:user::rwx
default:user:emartin:rwx
default:user:walter:rwx
default:group::rwx
default:mask::rwx
default:other::r-x
% touch data/foobar.txt
touch: cannot touch `data/foobar.txt': Permission denied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment