fixing permission issue for jar files