/usr/include/dovecot/eacces-error.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #ifndef EACCES_ERROR_H
#define EACCES_ERROR_H
/* Return a user-friendly error message for EACCES failures. */
const char *eacces_error_get(const char *func, const char *path);
const char *eacces_error_get_creating(const char *func, const char *path);
/* Return a user-friendly error message for fchown() or chown() EPERM
failures when only the group is being changed. gid_origin specifies why
exactly this group is being used. */
const char *eperm_error_get_chgrp(const char *func, const char *path,
gid_t gid, const char *gid_origin)
ATTR_NULL(4);
#endif
|