Targets created from stdout should be rw-, not rwx.
I had forgotten to pass the create mode to open(). Oops!
This commit is contained in:
parent
190dd657d8
commit
83dd52c209
6 changed files with 10 additions and 5 deletions
5
t/modetest.do
Normal file
5
t/modetest.do
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
umask 0022
|
||||
redo mode1
|
||||
MODE="$(ls -l mode1 | cut -d' ' -f1)"
|
||||
[ "$MODE" = "-rw-r--r--" ] || exit 78
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue