summaryrefslogtreecommitdiff
path: root/unpack-trees.c
diff options
context:
space:
mode:
authorBrandon Casey <drafnel@gmail.com>2010-03-15 17:14:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-03-17 02:05:57 (GMT)
commitab04a9056788cf77f6b6c72605fc6027f21d9d7c (patch)
treede03a72d4c1499bfc827f757dce78e9b8bbf3206 /unpack-trees.c
parentdb826571e4099066fe44233d95642591016c831b (diff)
downloadgit-ab04a9056788cf77f6b6c72605fc6027f21d9d7c.zip
git-ab04a9056788cf77f6b6c72605fc6027f21d9d7c.tar.gz
git-ab04a9056788cf77f6b6c72605fc6027f21d9d7c.tar.bz2
t/t1304: set the Default ACL base entries
According to the Linux setfacl man page, in order for an ACL to be valid, the following rules must be satisfied: * Whenever an ACL contains any Default ACL entries, the three Default ACL base entries (default owner, default group, and default others) must also exist. * Whenever a Default ACL contains named user entries or named group objects, it must also contain a default effective rights mask. Some implementations of setfacl (Linux) do this automatically when necessary, some (Solaris) do not. Solaris's setfacl croaks when trying to create a default user ACL if the above rules are not satisfied. So, create them before modifying the default user ACL's. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.c')
0 files changed, 0 insertions, 0 deletions