When running this code, "aclAttr" is alway null on Linux (OpenSuSE 13.3) while "view" is fine. On Windows 7 "aclAttr" is fine. Any idea to get the code to work on Linux?
FileSystem fs = FileSystems.getDefault();
Path path=fs.getPath(filename);
AclFileAttributeView aclAttr = Files.getFileAttributeView(path, AclFileAttributeView.class);
LOGGER.info("Attr={}", aclAttr);
FileOwnerAttributeView view = Files.getFileAttributeView(path,FileOwnerAttributeView.class);
LOGGER.info("View={}", view);