Archive: Drive permissions


Drive permissions
Hi
What I am wondering is there a way of finding out what permissions are on the drive that an application is being installed to


What kind of permissions are you talking about? You can change file permissions using the AccessControl plug-in, but I don't know of any plug-in that queries the granted permissions. Any special reason you'd like to query the permissions before setting them? Or do you want just to query?


Thanks for the reply Kichik, The reason for the query was to check if the drive that has been choosen for the application to install to is writable before trying to install, I have got around it by creating a directory on the drive and then checking if it exists if it does then the drive must be writable if not then the drive is not writable. and the installer can exit proberly.