hudson.unmount();
try {
hudson.setProperty("hudson:managed-by","hudson"); // mark this file system as "managed by Hudson"
ACLBuilder acl = new ACLBuilder();
acl.user(userName).withEverything();
hudson.allow(acl);
} catch (ZFSException e) {
// revert the file system creation
try {
hudson.destory();