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
|
|
@ -76,7 +76,7 @@ class BuildJob:
|
|||
return self._after2(1)
|
||||
state.stamp(dofile)
|
||||
unlink(tmpname)
|
||||
ffd = os.open(tmpname, os.O_CREAT|os.O_RDWR|os.O_EXCL)
|
||||
ffd = os.open(tmpname, os.O_CREAT|os.O_RDWR|os.O_EXCL, 0666)
|
||||
close_on_exec(ffd, True)
|
||||
self.f = os.fdopen(ffd, 'w+')
|
||||
# this will run in the dofile's directory, so use only basenames here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue