Subject: Re: Git destroys u+s and g+s directory modes

From: Andreas Schwab <[email-masked]>
Date: Sat, 27 Dec 2025 16:12:58 +0100

On Dez 27 2025, Hadmut Danisch wrote:

> Am 27.12.25 um 15:27 schrieb [email-masked]:
>> There is an option with ubuntu: Access Control Lists (ACLs). These provide
>> override security for directories that might assist in your process without
>> having to worry about git security settings. It might be worth looking into
>> this option.
>
>
> This does not solve the problem, since ACLs do not propagate into newly
> created subdirectories, as group ownership with S_ISGID flag does.

You can set the default ACL on a directory, which is then inherited by
all newly created files.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."