precise/java: adds execute permission to hooks.