linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Shilovsky <piastryyy@gmail.com>
To: Steve French <smfrench@gmail.com>
Cc: Ronnie Sahlberg <lsahlber@redhat.com>, CIFS <linux-cifs@vger.kernel.org>
Subject: Re: [PATCH][SMB3] Fix modefromsid newly created files to allow more permission on server
Date: Tue, 21 Jan 2020 16:04:32 -0800	[thread overview]
Message-ID: <CAKywueS+3KdMHzg60Mp=NLbUv3EYwzaUROq5w4uD7jj1Ph42kQ@mail.gmail.com> (raw)
In-Reply-To: <CAH2r5mvGDLY0CN3i0R3sLK9exaGbTVohVNzRjh8-482mp-d_yg@mail.gmail.com>

Looks good.

Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>

--
Best regards,
Pavel Shilovsky

чт, 16 янв. 2020 г. в 21:26, Steve French <smfrench@gmail.com>:
>
> updated with your suggestion and reviewed-by
>
> On Thu, Jan 16, 2020 at 9:04 PM Ronnie Sahlberg <lsahlber@redhat.com> wrote:
> >
> > Reviewed-By: Ronnie Sahlberg <lsahlber@redhat.com>
> >
> > But drop the extra parenthesises here :
> > +                (2 * sizeof(struct cifs_ace));
> >
> > ----- Original Message -----
> > From: "Steve French" <smfrench@gmail.com>
> > To: "CIFS" <linux-cifs@vger.kernel.org>
> > Sent: Friday, 17 January, 2020 12:28:03 PM
> > Subject: [PATCH][SMB3] Fix modefromsid newly created files to allow more permission on server
> >
> >     When mounting with "modefromsid" mount parm most servers will require
> >     that some default permissions are given to users in the ACL on newly
> >     created files, and for files created with the new 'sd context' -
> > when passing in
> >     an sd context on create, permissions are not inherited from the parent
> >     directory, so in addition to the ACE with the special SID (which contains
> >     the mode), we also must pass in an ACE allowing users to access the file
> >     (GENERIC_ALL for authenticated users seemed like a reasonable default,
> >     although later we could allow a mount option or config switch to make
> >     it GENERIC_ALL for EVERYONE special sid).
> >
> >
> >
> >
> > --
> > Thanks,
> >
> > Steve
>
>
>
> --
> Thanks,
>
> Steve

      reply	other threads:[~2020-01-22  0:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-17  2:28 [PATCH][SMB3] Fix modefromsid newly created files to allow more permission on server Steve French
2020-01-17  3:04 ` Ronnie Sahlberg
2020-01-17  4:48   ` Steve French
2020-01-22  0:04     ` Pavel Shilovsky [this message]

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='CAKywueS+3KdMHzg60Mp=NLbUv3EYwzaUROq5w4uD7jj1Ph42kQ@mail.gmail.com' \
    --to=piastryyy@gmail.com \
    --cc=linux-cifs@vger.kernel.org \
    --cc=lsahlber@redhat.com \
    --cc=smfrench@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).