I want check whether a logged in user has permissions like “write” or “Read and Execute” for a folder that the user is using as destination for an installation.
Basically I am using the InstallAnyWhere to prepare the installer. I want the installer to check the given destination has the above permissions for the loggedin user or not, if the user does not have these permission the installer should throw a warning message.
I need this to be done using java. Is there a way to check this using java?
1 Answer