I have created a plain file which does not have execute permission but when I create a Java File object using this file\'s path/name and then call File.canExecute() I get tr
Nothing to do with Java - you're running as root, and root is allowed everything, not matter what the permissions say.