hi all, I am copying one file from cd to HDD using Java program in Linux OS. But i am not able to set an execute permission to the file. If u want to give execute permission,we have to type chmod 777 file name. But i want to do it using a java program. Please help me. It is very urgent. Thanking all.