5cdd1691e5185ecfe424f5de7b6f697813b88ba2Timo Sirainen/* Return a user-friendly error message for EACCES failures. */
5cdd1691e5185ecfe424f5de7b6f697813b88ba2Timo Sirainenconst char *eacces_error_get(const char *func, const char *path);
5cdd1691e5185ecfe424f5de7b6f697813b88ba2Timo Sirainenconst char *eacces_error_get_creating(const char *func, const char *path);
e156adefc1260d31a145df2f5e9b3c82050d4163Timo Sirainen/* Return a user-friendly error message for fchown() or chown() EPERM
e156adefc1260d31a145df2f5e9b3c82050d4163Timo Sirainen failures when only the group is being changed. gid_origin specifies why
e156adefc1260d31a145df2f5e9b3c82050d4163Timo Sirainen exactly this group is being used. */
e156adefc1260d31a145df2f5e9b3c82050d4163Timo Sirainenconst char *eperm_error_get_chgrp(const char *func, const char *path,