I have to create some set of directories on a user click which i have successfullydone thru java.io.File class. I need to set privileges on the directorieswhich i have successfully done thru java policytool and the FilePermissionclass. Now my problem is I have to create permissions on these directoriesto each working group and to individual persons in the group. I wonder ifI can do it thru the java.security package. Any help will be greately appriciated.Thanks in Advance.