Mark Shellenbaum <[EMAIL PROTECTED]> wrote:

> >>> You can, but I don't think ufsdump is ACL aware.
> >> ufsdump is ACL aware since 12 years.
> >>
> >> The problem may be in ufsrestore that IIRC only supports POSIX draft
> >> ACLs.
> >>
> >> If ZFS is able to translate this to NFSv4 ACLs, you may have luck.
> > 
> > So it might be better to use something like:
> > 
> > # cd /dir1
> > # find . -print -depth | cpio -Ppdm /dir2
> > [dir1 on UFS; dir2 on ZFS]
> > 
>
> ufsrestore will translate a UFS ACL to a ZFS ACL.  Its all handled in 
> the acl_set() interface.

If acl_set() may be used as a direct replacement for:

acl(info->f_name, SETACL, aclcount, aclp) 

this may be an interesting option for star.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to