--- policykit-1-0.94/src/programs/pkexec.c.orig 2010-03-05 14:03:49.000000000 -0500 +++ policykit-1-0.94/src/programs/pkexec.c 2010-03-09 14:15:44.000000000 -0500 @@ -201,7 +201,6 @@ gchar *opt_user; pid_t pid_of_caller; uid_t uid_of_caller; - struct stat statbuf; ret = 127; authority = NULL; @@ -296,9 +295,9 @@ g_free (path); argv[n] = path = s; } - if (stat (path, &statbuf) != 0) + if (access (path, F_OK) != 0) { - g_printerr ("Error getting information about %s: %s\n", path, g_strerror (errno)); + g_printerr ("Error accessing %s: %s\n", path, g_strerror (errno)); goto out; } command_line = g_strjoinv (" ", argv + n);