In my program i want to create some temporary directories namely Temp1 and Temp2.
I am currently working on Mac and i choose the place to create these directories as
/Users/your_account_username/Library/Application Support
This directory has the following File Permissions
> drwx------+ 27 ib-mac-1 staff 918 May 7 19:01 Application Support When i create Temp1 , i set read, write, execute permissions using the Java File API.
file.setExecutable(true); file.setReadable(true); file.setWritable(true); Somehow this is not helping me apply rwx to the directories, the created directories/files under them are taking the only drwxr-xr-x