public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Duncan Sands <duncan.sands@math.u-psud.fr>
To: Leopold Gouverneur <lgouv@planetinternet.be>,
	linux-kernel@vger.kernel.org
Subject: Re: 2.5.8 pre3 chown problem
Date: Mon, 15 Apr 2002 09:33:29 +0200	[thread overview]
Message-ID: <E16x0zT-0000ue-00@baldrick> (raw)
In-Reply-To: <20020414193813.GA668@gouv>

Andrew Morton posted this patch earlier:

--- linux-2.5.8-pre3/fs/open.c        Tue Apr  9 18:16:40 2002
+++ 25/fs/open.c      Thu Apr 11 00:15:09 2002
@@ -524,11 +524,11 @@ static int chown_common(struct dentry * 
              goto out;
      newattrs.ia_valid =  ATTR_CTIME;
      if (user != (uid_t) -1) {
-             newattrs.ia_valid =  ATTR_UID;
+             newattrs.ia_valid |= ATTR_UID;
              newattrs.ia_uid = user;
      }
      if (group != (gid_t) -1) {
-             newattrs.ia_valid =  ATTR_GID;
+             newattrs.ia_valid |= ATTR_GID;

      reply	other threads:[~2002-04-15  7:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-14 19:38 2.5.8 pre3 chown problem Leopold Gouverneur
2002-04-15  7:33 ` Duncan Sands [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=E16x0zT-0000ue-00@baldrick \
    --to=duncan.sands@math.u-psud.fr \
    --cc=lgouv@planetinternet.be \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox