Re: [PATCH v2 2/2] afs, bash: Fix open(O_CREAT) on an extant AFS file in a sticky dir
Chet Ramey <[email protected]> Thu, 23 Jul 2026 11:16:31 -0400
| Newsgroups | org.kernel.vger.linux-nfs,org.kernel.vger.linux-cifs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Organization | ITS, Case Western Reserve University |
| Message-ID | <[email protected]> |
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 [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
(application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQR8ATX7CIqvbGbGULm7WGnwZOp0qwUCamIwTwUDAAAAAAAKCRC7WGnwZOp0q1ts AJ9lHbB9KorRuGnv0zbi+/1FDyDO0QCeP0Ag7LXnUSG187Zn6EvbIxMvRsA= =Q4MK -----END PGP SIGNATURE-----