in reply to Odd behavior of file test

Another possibility is Apache (or whichever component) having difficulties with spaces in file (or folder) names, in your case the space between "Ahmad" and "Jamal" (and the other one between "Digital" and "Works").