---
name: "gfs_acl_error"
section: "3"
platform: "linux"
package: "libgfarm-dev"
version: "2.7.20+dfsg-1.2+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gfs_acl_error"
---

# gfs\_acl\_error(3)

convert a Gfarm ACL error code to a text message

## NAME

gfs\_acl\_error - convert a Gfarm ACL error code to a text message

## SYNOPSIS

```
#include <gfarm/gfarm.h>
```

**const char \* gfs\_acl\_error(int** *acl\_check\_err\_code***);**

## INPUT ARGUMENTS

*acl\_check\_err\_code*

A error code returned by [**gfs\_acl\_check**(3)](/gfs_acl_check/3.md).

## RETURN VALUE

If the acl\_check\_err\_code is *GFARM\_ACL\_MULTI\_ERROR*, "Multiple entries" is returned. If the acl\_check\_err\_code is *GFARM\_ACL\_DUPLICATE\_ERROR*, "Duplicate entries" is returned. If the acl\_check\_err\_code is *GFARM\_ACL\_MISS\_ERROR*, "Missing or wrong entry" is returned. If the acl\_check\_err\_code is *GFARM\_ACL\_ENTRY\_ERROR*, "Invalid entry type" is returned. "No error" is returned otherwise.

## SEE ALSO

[**gfs\_acl\_check**(3)](/gfs_acl_check/3.md), [**gfs\_acl\_valid**(3)](/gfs_acl_valid/3.md)
