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

[BUG] t4102-apply-rename.sh isn't umask aware

From
PBPeter Baumann <peter.baumann@gmail.com>
Date
Nov 1, 2005, 11:03 UTC
Message-ID
<802d21790511010303l1a91071ci@mail.gmail.com>
xp:~/src/git/t rm -fR trash
xp:~/src/git/t umask
0027
xp:~/src/git/t ./t4102-apply-rename.sh
mv: cannot stat `.git/hooks': No such file or directory
*   ok 1: setup
*   ok 2: apply
* FAIL 3: validate
        test -f bar && ls -l bar | grep "^-..x..x..x"
* failed 1 among 3 test(s)
Setting umask to 0022  fixed the problem.
xp:~/src/git/t rm -fR trash
xp:~/src/git/t umask
0022
xp:~/src/git/t ./t4102-apply-rename.sh
mv: cannot stat `.git/hooks': No such file or directory
*   ok 1: setup
*   ok 2: apply
*   ok 3: validate
* passed all 3 test(s)
Regards
  Peter
Message 1 of 1 in “[BUG] t4102-apply-rename.sh isn't umask aware”
  1. Peter BaumannNov 1, 2005

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.