@Override
    public void setUnixOwner(final Path file, final String owner) throws BackgroundException {
        final FileAttributes attr = new FileAttributes.Builder()
                .withUIDGID(new Integer(owner), 0)
                .build();
        try {
            session.sftp().setAttributes(file.getAbsolute(), attr);
        }
        catch(IOException e) {
            throw new SFTPExceptionMappingService().map("Failure to write attributes of {0}", e, file);
        }
    }
@Test
    @Ignore
    public void testSetUnixOwner() throws Exception {
        final Path home = new SFTPHomeDirectoryService(session).find();
        final long modified = System.currentTimeMillis();
        final Path test = new Path(home, "test", EnumSet.of(Path.Type.file));
        new SFTPUnixPermissionFeature(session).setUnixOwner(test, "80");
        assertEquals("80", new SFTPListService(session).list(home, new DisabledListProgressListener()).get(test).attributes().getOwner());
    }