Prosody starts up as _prosody so key and cert are owned by that user, which is perfectly valid. Also "current user" will always be root anyway.
OK? diff --git parse.y parse.y index 1595b52a752..6ee026c2427 100644 --- parse.y +++ parse.y @@ -1034,10 +1034,6 @@ conf_check_file(char *s, int dontstat) warn("cannot stat %s", s); return (0); } - if (st.st_uid != 0 && st.st_uid != getuid()) { - warnx("%s: owner not root or current user", s); - return (0); - } if (st.st_mode & (S_IRWXG | S_IRWXO)) { warnx("%s: group read/writable or world read/writable", s); return (0); -- I'm not entirely sure you are real.