(UserManagementService) current.getService("UserManagementService", "1.0");
User u = new User(owner, null, group);
try {
service.chown(res, u, group);
} catch (XMLDBException e1) {
<BUG>if(dialog != null)

dialog.displayMessage("failed to change owner on document " + name + "; skipping ...");

}</BUG>
service.chmod(res, Integer.parseInt(perms, 8));

(UserManagementService) current.getService("UserManagementService", "1.0");
User u = new User(owner, null, group);
try {
service.chown(res, u, group);
} catch (XMLDBException e1) {
if(dialog != null) {
dialog.displayMessage("Failed to change owner on document '" + name + "'; skipping ...");
}
}
service.chmod(res, Integer.parseInt(perms, 8));
