need to check permission of file/directory i used
//filePath = path of file/directory access denied by user ( in windows )
File file = new File(filePath);
file.canWrite();
file.canRead();
file.canExecute();
all of three returns true but m not able to delete any file/directory