|
From: | Valerio Pachera |
Subject: | Re: [Jbackpack-discussion] Restoring a file to location other than original results in permissions error on Win platforms, |
Date: | Fri, 29 Nov 2013 09:21:53 +0100 |
I think I found the part of code that is causing the problem.The file is
src/ch/fhnw/jbackpack/SelectRestoreDirectoryDialog.java
// check that user can change permissions of this directory
if (selectedDirectory.setWritable(false)) {
selectedDirectory.setWritable(true);
} else {
String errorMessage = BUNDLE.getString(
"Error_Restore_Directory_Unmodifiable");
errorMessage = MessageFormat.format(
errorMessage, selectedDirectory);
showError(errorMessage);
return;
}It would be good enough to comment this part and recompile the program.
I have no experience in that.May anybody help?
[Prev in Thread] | Current Thread | [Next in Thread] |