From: Jeremy Allison <jra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jeremy Allison <jra-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
"linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
samba-technical
<samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org>
Subject: Re: posix remove acl support
Date: Wed, 20 Nov 2013 21:16:00 -0800 [thread overview]
Message-ID: <20131121051600.GA1007@jeremy-HP> (raw)
In-Reply-To: <CAH2r5mvcidQk7C47ZSFLPZ0yaU2yzzAabWDK2f19VMxBi3NzTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, Nov 20, 2013 at 11:04:57PM -0600, Steve French wrote:
> Jeremy,
> As you noted we need to add support to cifs kernel client to remove POSIX ACLs.
>
> This patch is close (it seems to work, but wireshark did not like the
> buffer lengths when I did a setfacl -k although setacl -b looked fine.
>
> It works basically by passing the minimum size in for the ACL (0
> entries) - sending a zero in the number of ACEs removes the entry.
>
> Comments/feedback?
Yep, sending a zero size for the number of ACE entries
will delete the ACL on the Samba server side.
I don't have the capability to test your patch right now
though, but you should be able to test it against any
modern Samba server installation.
Jeremy.
next prev parent reply other threads:[~2013-11-21 5:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 5:04 posix remove acl support Steve French
[not found] ` <CAH2r5mvcidQk7C47ZSFLPZ0yaU2yzzAabWDK2f19VMxBi3NzTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-11-21 5:16 ` Jeremy Allison [this message]
2013-11-21 5:35 ` Steve French
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131121051600.GA1007@jeremy-HP \
--to=jra-eunubhrolfbytjvyw6ydsg@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=samba-technical-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.