Wednesday, April 18, 2012

how to set file permissions on files in my deployment?

i have seen this question, but the answer doesn't quite explain the technique.



I run my application from the target directory after maven is run on the server.



I have a folder (/src/main/webapp/WEB-INF/scripts) which once after maven is run is copied to the target directory (/target/[project]/WEB-INF/scripts).



I need to make sure all of the files within this directory (recursively) receive executable permissions.



How can I achieve this without ant?





No comments:

Post a Comment