/** * Get the Unix style mode (file permission) of a file * * @param file * @return * @throws hudson.util.jna.Native.ExecutionError */ public int mode(File file) throws NativeAccessException { ensureUnixSupport(NativeFunction.MODE); return nativeUnixSupport.mode(file); }