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

'git clone,' build makes user non-writable files (should be option keep user-writable)

From
DCDavid Chmelik <dchmelik@gmail.com>
Date
Jul 15, 2022, 10:35 UTC
Message-ID
<822787da-bc26-0d72-a5c4-808a3d10126e@gmail.com>

What did you do before the bug happened? 'git clone,' built various software (with gcc, BSD & GNU make, autotools, cmake, etc.)

What did you expect to happen?
Option: keep cloned/built/etc. files user-writable.

What happened instead? Needed chmod or 'sudo rm -rf.'

What's different between what you expected and what actually happened?
Option: keep cloned/built/etc. files user-writable, otherwise (has been 
said 15+ years) encourages 'sudo rm -rf.'
Anything else you want to add:
         I try/test/debug (and report bugs) many software commits but 
don't commit so need cloned/built/etc. files writable as user & even 
system-wide options: who hasn't made 'rm -rf' mistakes? (unrelated but 
someone might claim is: I don't use non-UNIX-like OS that shell alias 
'rm -rf' to confirm every file (potentially thousands) and though made 
my own alias (confirm once) it's longer, sometimes unavailable so don't 
always use (many people don't)... software should always have 
user-writable files option.)  Below indicates GNU/Linux but also have 
often used git on *BSD/Unix.  I'm not on git mailing list but you can CC 
me all replies.

[System Info] git version: git version 2.37.1 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh uname: Linux 5.18.11 #1 SMP PREEMPT_DYNAMIC Wed Jul 13 00:20:29 CDT 2022 x86_64 compiler info: gnuc: 12.1 libc info: glibc: 2.35 $SHELL (typically, interactive shell): /bin/bash

Next: Beat Bolli
Message 1 of 8 in “'git clone,' build makes user non-writable files (should be option keep user-writable)”
  1. David ChmelikJul 15, 2022
  2. Beat BolliJul 17, 2022
  3. David ChmelikJul 22, 2022
  4. Đoàn Trần Công DanhJul 23, 2022
  5. David ChmelikJul 23, 2022
  6. Chris TorekJul 23, 2022
  7. David ChmelikAug 2, 2022
  8. David ChmelikAug 9, 2022

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.