mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chet Ramey <chet.ramey@case.edu>
To: David Howells <dhowells@redhat.com>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Christian Brauner <christian@brauner.io>
Cc: chet.ramey@case.edu, Marc Dionne <marc.dionne@auristor.com>,
	Jeffrey Altman <jaltman@auristor.com>,
	Steve French <sfrench@samba.org>,
	linux-afs@lists.infradead.org, openafs-devel@openafs.org,
	linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	Etienne Champetier <champetier.etienne@gmail.com>,
	Cheyenne Wills <cwills@sinenomine.net>,
	Christian Brauner <brauner@kernel.org>
Subject: Re: [PATCH v2 2/2] afs, bash: Fix open(O_CREAT) on an extant AFS file in a sticky dir
Date: Thu, 23 Jul 2026 11:16:31 -0400	[thread overview]
Message-ID: <e7575f17-9546-452c-ad08-d908adeb72e5@case.edu> (raw)
In-Reply-To: <20260723140047.702495-3-dhowells@redhat.com>


[-- Attachment #1.1: Type: text/plain, Size: 756 bytes --]

On 7/23/26 10:00 AM, David Howells wrote:

> As a result the Bash fallback logic masks an incompatibility between the
> ownership checks performed by may_create_in_sticky() and network
> filesystems such as AFS where the uid namespace is disjoint from the uid
> namespace of the local system.
> 
> However, the bash work around is going to be removed[2].

This was removed in bash-5.3, the current version. That may not make as big
a difference as you think -- some Linux distributions still ship with
bash-4.2 -- but it will become more common over time.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

      reply	other threads:[~2026-07-23 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-23 14:00 [PATCH v2 0/2] vfs, afs, bash: Fix miscomparison of foreign user IDs in the VFS David Howells
2026-07-23 14:00 ` [PATCH v2 1/2] vfs: Allow filesystems with foreign owner IDs to override UID checks David Howells
2026-07-23 14:00 ` [PATCH v2 2/2] afs, bash: Fix open(O_CREAT) on an extant AFS file in a sticky dir David Howells
2026-07-23 15:16   ` Chet Ramey [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=e7575f17-9546-452c-ad08-d908adeb72e5@case.edu \
    --to=chet.ramey@case.edu \
    --cc=brauner@kernel.org \
    --cc=champetier.etienne@gmail.com \
    --cc=christian@brauner.io \
    --cc=cwills@sinenomine.net \
    --cc=dhowells@redhat.com \
    --cc=jaltman@auristor.com \
    --cc=linux-afs@lists.infradead.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=marc.dionne@auristor.com \
    --cc=openafs-devel@openafs.org \
    --cc=sfrench@samba.org \
    --cc=viro@zeniv.linux.org.uk \
    /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

all inboxes | Powered by JetHome®