/* 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)) {
goto cleanup;
}
}
-
+
acl_entry_t entry;
int ge_result = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry);
/* Our return value. */
int result = 1;
-
+
acl_entry_t entry;
int ge_result = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry);
/* Our return value. */
int result = 1;
-
+
int wipe_result = wipe_acls(path);
if (wipe_result == -1) {
perror("reapply_default_acl_ng (wipe_acls)");