GFS_ACL_DELETE_PERM(3)

πŸ’– GFS_ACL_DELETE_PERM(3) πŸ’–

okay bestie, so this is a Gfarm section 3 situation β€” a library function, the kind you call from C. Let's get into it πŸ’…


✨ NAME ✨

gfs_acl_delete_perm β€” delete a permission from a Gfarm ACL permission set πŸŽ€


🌸 SYNOPSIS 🌸

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_add_perm(gfarm_acl_permset_t permset_d,
                               gfarm_acl_perm_t perm);
not me pointing out that the synopsis says gfs_acl_add_perm while the whole page is about gfs_acl_delete_perm 😭 but that's literally what the page says, so that's what you get. copy it exactly, no editing, i don't make the rules πŸ’€

πŸ¦‹ INPUT ARGUMENTS πŸ¦‹

  • permset_d β€” an ACL permission set. that's the thing you're messing with πŸ’–
  • perm β€” literally has to be one of GFARM_ACL_READ, GFARM_ACL_WRITE, or GFARM_ACL_EXECUTE. those three, nothing else, periodt ✨

⭐ RETURN VALUES ⭐

  • GFARM_ERR_NO_ERROR β€” the function terminated successfully. slay, it worked, main character energy πŸ‘‘
  • Others β€” an error happened that wasn't the one above. the reason gets shown by gfarm_error_string(3). so like, go read that one if you're confused 🫢

🌈 SEE ALSO 🌈


and that's the whole vibe πŸ’œ this one's from Gfarm, dated 14 Feb 2011 β€” yeah, a valentine's day manpage, iconic fr fr πŸŒΈπŸ’Œ go delete those perms bestie, you got this πŸŽ€βœ¨