--- src/configuration.c.orig 2015-11-14 09:10:58.283075033 +0100 +++ src/configuration.c 2015-11-14 09:11:14.898074670 +0100 @@ -68,7 +68,7 @@ use_hardcoded: ret = sprintf(filename,"%s", TOSTRING(ACCESSDAEMON)); filename[ret] = '\0'; - if (!access(filename, R_OK)) + if (!access(filename, X_OK)) { config.daemonPath = (char*)malloc((strlen(filename)+1) * sizeof(char)); strcpy(config.daemonPath, filename);