I have a perl script that wants to get a list of file in a directory using either opendir/readdir OR glob. It works fine if that directory is below the one the perl script is in OR /tmp. For any other directory it says it's empty!
Am I missing something? I made sure my permissions exactly match those of /tmp and I can't read anything on that other directory. Are there some funky directives that I need to change? I even looked for special references to 'tmp' in all the conf files and nothing.
Has anyone seen this behavior before? I'm running RHEL6.2
-mark