Commit b59da03
Do not reuse temporary file in server.script()
Even if `src` is the same, other parameters
such as `_su_user` may be different. In this
case pyinfra unconditionally tries to run `chmod +x`
on the file and fails, because the file is
already uploaded as a different user.1 parent 277cb6f commit b59da03
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments