Thanks, I will try it. ----- Original Message ----- From: Maximilian Mehnert To: Adrian Berlin Subject: Re: [Samba] ZFS on Linux + ACLs Date: Wed, 15 May 2013 06:25:00 +0200
Adrian Berlin writes: > Hello, > > Does anyone test ZFS on Linux and ACLs? > I can't setup POSIX ACLs and any extended even using acl_xattr or > acl_tdb. > Is any way to use ACLs with ZFS on Linux (Samba 3 or 4)? > > Best regards > /Adrian Berlin > > In the meantime, I edited the samba source to disregard posix ACLs and modified all shares to only use acl_xattr. Probably that is a solution for you... diff --git a/debian/patches/eat-posix-acls.patch b/debian/patches/eat-posix-acls.patch new file mode 100644 index 0000000..ea32642 --- /dev/null +++ b/debian/patches/eat-posix-acls.patch @@ -0,0 +1,13 @@ +diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c +index 34747d3..016c4d1 100644 +--- a/source3/smbd/posix_acls.c ++++ b/source3/smbd/posix_acls.c +@@ -2930,7 +2930,7 @@ static bool convert_canon_ace_to_posix_perms( files_struct *fsp, canon_ace *file + DEBUG(3,("convert_canon_ace_to_posix_perms: Too many ACE " + "entries for file %s to convert to posix perms.\n", + fsp_str_dbg(fsp))); +- return False; ++ //return False; + } + + for (ace_p = file_ace_list; ace_p; ace_p = ace_p->next) \{ diff --git a/debian/patches/series b/debian/patches/series index fcf2d10..c042703 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -21,3 +21,4 @@ smbtorture-manpage.patch libutil_drop_AI_ADDRCONFIG.patch shadow_copy2_backport.patch only_export_public_symbols.patch +eat-posix-acls.patch -- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba