git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git not allowing 744 as permissions for a file

From
ARAuriane 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.
Next: brian m. carlson
Message 1 of 2 in “git not allowing 744 as permissions for a file”
  1. Auriane ReverdellJan 24, 2023
  2. brian m. carlsonJan 24, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.