Sean Keane wrote:So it sounds like the only way I can get canRead() method to fail is by manually setting the permissions on the file in the O/S and then running my Java program? Sound right?
Yes, that sounds right. But so what? Surely having canRead() return false can't be a real-life requirement which needs to be automated?