[PATCH v2 2/2] afs, bash: Fix open(O_CREAT) on an extant AFS file in a sticky dir

Chet Ramey chet.ramey at case.edu
Thu Jul 23 08:16:31 PDT 2026


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 at case.edu    http://tiswww.cwru.edu/~chet/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-afs/attachments/20260723/115b1f0f/attachment-0001.sig>


More information about the linux-afs mailing list