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 --
https://github.com/zfsonlinux/zfs/issues/170 On 13 May 2013 12:12, Adrian Berlin <gato at rock.com> wrote:> 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 > > > -- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Edward AshleyDevelopere. ned at redmonkeysoftware.comu. www.redmonkeysoftware.comt. 0845 867 3849f. 0845 867 4127 [image: Red Monkey Software | Superior Software Solutions]<http://www.redmonkeysoftware.com/> Red Monkey Software Ltd, 24 The Layne, Elmer Sands, Bognor Regis, West Sussex. PO22 6JL Registered in England and Wales no 5923420 Registered Office: 20 Springfield Road, Crawley, West Sussex, RH11 8AD Edward Ashley Developer e. ned at redmonkeysoftware.com u. www.redmonkeysoftware.com t. 0845 867 3849 f. 0845 867 4127 Red Monkey Software | Superior Software Solutions Red Monkey Software Ltd, 24 The Layne, Elmer Sands, Bognor Regis, West Sussex. PO22 6JL Registered in England and Wales no 5923420 Registered Office: 20 Springfield Road, Crawley, West Sussex, RH11 8AD
Yep, i read it before. Maybe is any other way?
----- Original Message -----
From: Edward Ashley
To: Adrian Berlin
Cc: "samba at lists.samba.org"
Subject: Re: [Samba] ZFS on Linux + ACLs
Date: Mon, 13 May 2013 12:31:54 +0100
https://github.com/zfsonlinux/zfs/issues/170
On 13 May 2013 12:12, Adrian Berlin <gato at rock.com> wrote:
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
--
--
To unsubscribe from this list go to the following URL and read
the
instructions: ?https://lists.samba.org/mailman/options/samba
--
Edward Ashley
============
Developer
---------
e.?ned at redmonkeysoftware.com
u.?www.redmonkeysoftware.com
t.?0845 867 3849
f.?0845 867 4127
Red Monkey Software | Superior Software Solutions
Red Monkey Software Ltd, 24 The Layne, Elmer Sands, Bognor Regis,
West Sussex. PO22 6JL?
Registered in England and Wales no 5923420?
Registered Office: 20 Springfield Road, Crawley, West Sussex, RH11
8AD
--
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
--