Skip to content
Snippets Groups Projects
Commit efc7826f authored by tpylak's avatar tpylak
Browse files

DMV: better user error message

SVN: 6509
parent 9233e71d
No related branches found
No related tags found
No related merge requests found
...@@ -343,7 +343,7 @@ public class FileStoreRemote extends FileStore ...@@ -343,7 +343,7 @@ public class FileStoreRemote extends FileStore
final String cmd = mkCheckDirectoryFullyAccessibleCommand(pathString); final String cmd = mkCheckDirectoryFullyAccessibleCommand(pathString);
final ProcessResult result = tryExecuteCommandRemotely(cmd, timeOutMillis); final ProcessResult result = tryExecuteCommandRemotely(cmd, timeOutMillis);
return isSuccessfulCheck(result) ? null return isSuccessfulCheck(result) ? null
: ("Directory not accesible: " + getHost() + ":" + pathString); : ("Directory not accesible: '" + getHost() + ":" + pathString + "'. Check that it exists and that you have read and write rights to it.");
} }
private final static List<String> createSshCommand(final String command, private final static List<String> createSshCommand(final String command,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment