git not allowing 744 as permissions for a file
- From
- Auriane Reverdell <areverdell@gmail.com>
- Date
- Jan 24, 2023, 15:48 UTC
- Message-ID
- <CAFC92SFZgQtstEzV5pgT_tPSs=6fRJ=rE6ad_DENnn_UoobxFQ@mail.gmail.com>
Hi,
git doesn't allow to add the execution permission on a file only for the user. A chmod 744 on a file will transform into 755 when added to git. This can potentially lead to security problems on certain systems. Is there a way to fix that? I'll be happy to do so if somebody shows me where to do it.
Auriane R.