4 psi.directory={PWD}/../../psi.d:{PWD}
7 is_dir("/etc/sudoers.d") and !is_readable("/etc/sudoers.d") or die("skip - only for Linux with unreadable sudoers.d");
12 var_dump(psi\GLOB_ABORTED == psi\glob("/etc/sudoers.d/*", psi\GLOB_ERR, $glob, function($epath, $eerrno) {
13 printf("%s: %s\n", psi\strerror($eerrno), $epath);
17 var_dump(psi\GLOB_ABORTED == psi\glob("/etc/sudoers.d/*", 0, $glob, function($epath, $eerrno) {
18 printf("%s: %s\n", psi\strerror($eerrno), $epath);
23 var_dump(psi\GLOB_ABORTED == psi\glob("/etc/sudoers.d/*", 0, $glob, function($epath, $eerrno) {
24 printf("%s: %s\n", psi\strerror($eerrno), $epath);
32 Permission denied: /etc/sudoers.d
45 Permission denied: /etc/sudoers.d
58 Permission denied: /etc/sudoers.d