Package org.opennms.bootstrap
Class FilesystemPermissionValidator
- java.lang.Object
-
- org.opennms.bootstrap.FilesystemPermissionValidator
-
public class FilesystemPermissionValidator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_USER
static String[]
FULLDIRS
static String
OPENNMS_HOME
static String[]
SPOTDIRS
static boolean
VERBOSE
-
Constructor Summary
Constructors Constructor Description FilesystemPermissionValidator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
boolean
validate(String user, Path path)
-
-
-
Method Detail
-
validate
public boolean validate(String user, Path path) throws FilesystemPermissionException
- Throws:
FilesystemPermissionException
-
-