gfs_acl_set_file(3)

gfs_acl_set_file3

Set a gfarm acl by filename

Usage

#include <gfarm/gfarm.h>

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

Input arguments

gfarm_url

A path name in the Gfarm filesystem.

type

GFARM_ACL_TYPE_ACCESS (to set the access ACL) or GFARM_ACL_TYPE_DEFAULT (to set the default ACL).

acl

An ACL structure type which is sorted.

Return values

GFARM_ERR_NO_ERROR

The function terminated successfully.

GFARM_ERR_INVALID_ARGUMENT

The argument acl does not point to a valid ACL.

Others

An error except the above occurred. The reason is shown by gfarm_error_string(3).

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–10
  2. 11–13

From libgfarm-dev 2.7.20+dfsg-1.2+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.