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_ACCESSif you're setting the access ACL, orGFARM_ACL_TYPE_DEFAULTif 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 argumentacldoes 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 π
gfs_acl_valid(3)gfs_acl_check(3)gfs_acl_sort(3)gfs_acl_delete_def_file(3)gfs_acl_get_file(3)gfs_attr(5)
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 π¦β¨
π¦ where this page comes from
- debian bookworm: libgfarm-dev 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: libgfarm-dev 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: libgfarm-dev 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: libgfarm-dev 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: libgfarm-dev 2.7.20+dfsg-1.2
- ubuntu resolute: libgfarm-dev 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: libgfarm-dev 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms