@Override
	public WindowsAttributes getWindowsAttributes(String path)
			throws PathNotFoundException, AccessDeniedException,
			UnsupportedFeatureException {
		if (hardlinks)
		{
			//Get hard link paths
			String[] hardlinks = getHardLinks(path);
			if (hardlinks.length > 0)
				path = hardlinks[0];
		}
		if (windowsAttributes)
		{
			try {
				String[] lines = FileSystemUtils.readLines(attributeFs, getPermissionsPath(path));
				if (lines.length > 3)
				{
					int permissions = Integer.valueOf(lines[3]);
					return new WindowsAttributes(permissions);
				}
				
			} catch (AccessDeniedException e) {
				e.printStackTrace();
			} catch (NotAFileException e) {
				e.printStackTrace();
			} catch (PathNotFoundException e)
			{
				if (!innerFs.pathExists(path))
					throw e;
			}
		}
		return new WindowsAttributes();
	}