Commit 736f8c2
authored
Fixes #38286 - Deploy script with tighter permissions (#124)
* Fixes #38286 - Deploy script with tighter permissions
* Refs #38286 - Ensure access for effective user
The files are deployed by the connection user, but they need to be
readable and executable by the by the effective user. Sadly, a non-root
user cannot change ownership of a file to another user so we have to
rely on ACLs to grant the permissions to the other user.
* Refs #38286 - Tighten permissions on the output file1 parent c0b9d25 commit 736f8c2
File tree
1 file changed
+14
-4
lines changed- lib/smart_proxy_remote_execution_ssh/runners
1 file changed
+14
-4
lines changedLines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
210 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
211 | 215 | | |
212 | 216 | | |
213 | 217 | | |
| |||
354 | 358 | | |
355 | 359 | | |
356 | 360 | | |
357 | | - | |
| 361 | + | |
358 | 362 | | |
359 | 363 | | |
360 | | - | |
| 364 | + | |
361 | 365 | | |
362 | 366 | | |
363 | 367 | | |
| |||
414 | 418 | | |
415 | 419 | | |
416 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
417 | 427 | | |
418 | 428 | | |
0 commit comments