public class FileSystemExecScan
extends Object
Find a location for a usable temporary directory, on a filesystem mounted
without noexec, and set a system property accordingly.
- Author:
- gavalian, baltzell
-
-
Constructor Summary
Constructors
-
Method Summary
boolean
boolean
static void
static boolean
boolean
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_TMPDIRS
public static final String[] DEFAULT_TMPDIRS
-
DEFAULT_TMPDIR_PROPS
public static final String[] DEFAULT_TMPDIR_PROPS
-
Constructor Details
-
FileSystemExecScan
public FileSystemExecScan(String... prop)
-
Method Details
-
scan
public static boolean scan()
-
scan
public boolean scan(String... dirs)
-
checkDirectory
public boolean checkDirectory(String dir)
-
check
public boolean check(String dir)
-
writeFile
public boolean writeFile(String path)
-
main
public static void main(String[] args)