GFS_ACL_SET_FILE(3)

GFS_ACL_SET_FILE πŸ’… (section 3 of the Gfarm manual)

✨ NAME ✨

gfs_acl_set_file β€” bestie, this is the one that sets a Gfarm ACL by filename πŸŽ€


🌸 SYNOPSIS 🌸

#include <gfarm/gfarm.h>

gfarm_error_t gfs_acl_set_file(const char *gfarm_url,
                               gfarm_acl_type_t type, gfarm_acl_t acl);

okay so literally the whole vibe is right there in three lines, no notes 🫢


πŸ¦‹ INPUT ARGUMENTS πŸ¦‹

  • gfarm_url β€” a path name in the Gfarm filesystem. like, where the file lives, girlie πŸ’–
  • type β€” GFARM_ACL_TYPE_ACCESS if you're setting the access ACL, or GFARM_ACL_TYPE_DEFAULT if you're setting the default ACL. pick your fighter, bestie ✨
  • acl β€” an ACL structure type which is sorted. yes, sorted. it already has to be sorted before it gets here, no cap 🧚

πŸ’€ RETURN VALUES πŸ’€

  • GFARM_ERR_NO_ERROR β€” it ate and left no crumbs, the function terminated successfully πŸ‘‘
  • GFARM_ERR_INVALID_ARGUMENT β€” the argument acl does not point to a valid ACL 😭 it's giving invalid, it's giving not it
  • Others β€” an error except the above occurred. the reason is shown by gfarm_error_string(3). lowkey mysterious, highkey readable, go check it 🌈

πŸŽ€ SEE ALSO πŸŽ€


ok that's the whole page, bestie, no skips, no crumbs left behind πŸ’…

Gfarm Β· 14 Feb 2011 β€” yeah it's a Valentine's Day icon, we stan an OG πŸ’– mwah, go set some ACLs πŸ¦‹βœ¨