--- popt-1.16/poptconfig.c.orig 2009-05-20 17:18:07 +0400 +++ popt-1.16/poptconfig.c 2012-03-31 08:50:54 +0400 @@ -141,17 +141,17 @@ int poptSaneFile(const char * fn) { struct stat sb; - uid_t uid = getuid(); +/* uid_t uid = getuid();*/ if (stat(fn, &sb) == -1) return 1; - if ((uid_t)sb.st_uid != uid) - return 0; +/* if ((uid_t)sb.st_uid != uid) + return 0;*/ if (!S_ISREG(sb.st_mode)) return 0; /*@-bitwisesigned@*/ - if (sb.st_mode & (S_IWGRP|S_IWOTH)) - return 0; +/* if (sb.st_mode & (S_IWGRP|S_IWOTH)) + return 0;*/ /*@=bitwisesigned@*/ return 1; }