Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] ZFS on Linux + ACLs

317 views
Skip to first unread message

Adrian Berlin

unread,
May 13, 2013, 7:30:02 AM5/13/13
to
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

Adrian Berlin

unread,
May 13, 2013, 7:40:02 AM5/13/13
to
Yep, i read it before. Maybe is any other way?

----- Original Message -----
From: Edward Ashley
To: Adrian Berlin
Cc: "sa...@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
--



Edward Ashley
=============


Developer
---------

e. n...@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

Edward Ashley

unread,
May 13, 2013, 7:40:03 AM5/13/13
to
https://github.com/zfsonlinux/zfs/issues/170


On 13 May 2013 12:12, Adrian Berlin <ga...@rock.com> wrote:

--
Edward AshleyDevelopere. n...@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. n...@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

Adrian Berlin

unread,
May 15, 2013, 8:20:02 AM5/15/13
to
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
0 new messages