gfs_acl_get_file3
Get a gfarm acl by filename
Usage
#include <gfarm/gfarm.h>
gfarm_error_t gfs_acl_get_file(const char *gfarm_url, gfarm_acl_type_t type, gfarm_acl_t *acl_p);
Input arguments
gfarm_url
A path name in the Gfarm filesystem.
type
GFARM_ACL_TYPE_ACCESS (to get the access ACL) or GFARM_ACL_TYPE_DEFAULT (to get the default ACL).
acl_p
A pointer of ACL structure type.
Return values
GFARM_ERR_NO_ERROR
The function terminated successfully.
GFARM_ERR_NO_SUCH_OBJECT
The gfarm_url does not exist or The gfarm_url does not have the type of ACL.
GFARM_ERR_NO_MEMORY
Insufficient memory was available.
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.