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

1 messages from 2005-11-01 to 2005-11-01. Participants: Peter Baumann.
Thread: https://gitlist.dev/t/2289

## Peter Baumann, 2005-11-01 11:03

Subject: [BUG] t4102-apply-rename.sh isn't umask aware
Message-ID: <802d21790511010303l1a91071ci@mail.gmail.com>
URL: https://gitlist.dev/e/802d21790511010303l1a91071ci%40mail.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

```
