1 #ifndef EACCES_ERROR_H
2 #define EACCES_ERROR_H
3 
4 /* Return a user-friendly error message for EACCES failures. */
5 const char *eacces_error_get(const char *func, const char *path);
6 const char *eacces_error_get_creating(const char *func, const char *path);
7 /* Return a user-friendly error message for fchown() or chown() EPERM
8    failures when only the group is being changed. gid_origin specifies why
9    exactly this group is being used. */
10 const char *eperm_error_get_chgrp(const char *func, const char *path,
11 				  gid_t gid, const char *gid_origin)
12 	ATTR_NULL(4);
13 
14 #endif
15