X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Faclq.c;h=9217bc240da90bbc481a51f66889e16b3325452a;hb=b7804ac18110deba71f84682869bd43a12fd1daf;hp=557a70e6e21acf9ebe051275de8d448d930dd2bd;hpb=5932197191e4cbeacbab1ff5900a7851fdb85872;p=apply-default-acl.git diff --git a/src/aclq.c b/src/aclq.c index 557a70e..9217bc2 100644 --- a/src/aclq.c +++ b/src/aclq.c @@ -223,7 +223,7 @@ int any_can_execute(const char* path) { /* Our return value. */ int result = 0; - + if (acl_is_minimal(&acl)) { mode_t mode = get_mode(path); if (mode & (S_IXUSR | S_IXOTH | S_IXGRP)) { @@ -235,7 +235,7 @@ int any_can_execute(const char* path) { goto cleanup; } } - + acl_entry_t entry; int ge_result = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry); @@ -337,7 +337,7 @@ int wipe_acls(const char* path) { /* Our return value. */ int result = 1; - + acl_entry_t entry; int ge_result = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry); @@ -413,7 +413,7 @@ int reapply_default_acl(const char* path) { /* Our return value. */ int result = 1; - + int wipe_result = wipe_acls(path); if (wipe_result == -1) { perror("reapply_default_acl_ng (wipe_acls)");