"TMP filesystem ({}) is read-only!" Fix
TMP filesystem ({}) is read-only! was showing up when running on windows environment. May be wrong in removing the .resolve part, but found that Java was trying to locate a file that wasn't being created when the server/client was ran, resulting in the check failing. Removing the resolve still seems to pickup if a directory is read only so should be good still (hopefully lol)2.x-1.17
parent
d0ffab9339
commit
f06cdb6e3c
|
@ -87,8 +87,8 @@ public class Utilities {
|
|||
log.error("Not enough space left in TMP directory! ({})", tmp_dir);
|
||||
flag = true;
|
||||
}
|
||||
|
||||
if(!Files.isWritable(tmp_dir.resolve("test_txb_file_2137"))) {
|
||||
//!Files.isWritable(tmp_dir.resolve("test_txb_file_2137")) - Unsure why this was resolving to a file that isn't being created (at least not in Windows)
|
||||
if(!Files.isWritable(tmp_dir)) {
|
||||
log.error("TMP filesystem ({}) is read-only!", tmp_dir);
|
||||
flag = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue