On Sat, Jun 23, 2007 at 12:31:28PM -0500, Nicolas Williams wrote: > On Sat, Jun 23, 2007 at 12:18:05PM -0500, Nicolas Williams wrote: > > Couldn't wait for ZFS delegation, so I cobbled something together; see > > attachment. > > I forgot to slap on the CDDL header...
And I forgot to add a -p option here: > #!/bin/ksh That should be: > #!/bin/ksh -p Note that this script is not intended to be secure, just to keep honest people honest and from making certain mistakes. Setuid-scripts (which this isn't quite) are difficult to make secure. Nico -- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss