|Subject:||Simple -X checks don't account for ACLs|
For directories with ACLs on them, a simple -r check won't work. We have a directory that fails a -r check, but is actually readable, due to ACLs. This is actually a common problem of ours with a few different modules. The perldoc -X page talks about it. You could add a "use filetest 'access'" line to fix that. Although, the most reliable method is to just open/opendir the file/directory and see if it works. If it doesn't, the standard error message will spit out a good enough reason, including permission problems.