GFS_ACL_DELETE_DEF_F(3)
π GFS_ACL_DELETE_DEF_F(3) β the Gfarm manual, bestie edition π
okay so bestie, welcome to section 3 of the Gfarm manual, and today's main character is gfs_acl_delete_def_file β literally the "delete a Gfarm default ACL by filename" girlie. she's giving cleanup crew, she's giving bye-bye default ACL, and honestly? iconic. π¦
β¨ NAME β¨
gfs_acl_delete_def_file β delete a Gfarm default ACL by filename. no cap, that's the whole job description. π
πΈ SYNOPSIS πΈ
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_delete_def_file(const char *gfarm_url);
look at her. one include, one function, zero drama. π«Ά
π INPUT ARGUMENTS π
gfarm_urlβ a path name in the Gfarm filesystem. that's the address, that's the vibe, that's where the default ACL lives. pass it in and let her cook. β¨
π RETURN VALUES π
GFARM_ERR_NO_ERRORβ the function terminated successfully. she ate, she left no crumbs, everything went exactly how it was supposed to. πGFARM_ERR_NOT_A_DIRECTORYβ files do not have a default ACL. yeah so this is the lowkey important one: default ACLs are a directory thing, so if you point this at a file you're gonna get this back. not me being shocked, fr fr. π- Others β an error except the above occurred. the reason is shown by
gfarm_error_string(3). so when something else goes sideways, that's your girl for the tea. π΅
real talk: "Others" is not a specific error code, it's the catch-all bucket. if you land here, go read gfarm_error_string(3) before you spiral. π
π SEE ALSO π
gfs_acl_get_file(3)gfs_acl_set_file(3)gfs_attr(5)
the friend group. go say hi. π§
Gfarm dropped this one on 14 Feb 2011, and it's still out here doing the lord's work as GFS_ACL_DELETE_DEF_F(3). mwah. πβ¨
π¦ 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