Re: [PATCH v2 2/2] afs, bash: Fix open(O_CREAT) on an extant AFS file in a sticky dir
From: Chet Ramey
Date: Thu Jul 23 2026 - 11:27:23 EST
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@xxxxxxxx http://tiswww.cwru.edu/~chet/
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature