This repository was archived by the owner on Feb 5, 2022. It is now read-only.
Commit ee4ef60
committed
Clean dirStat when uploading directories
When uploading dirs to a different box and/or OS, the dirstat can
contain an owner/group ids that aren't available at the destination.
This can result in PERMISSION DENIED errors when the target user tries
to create files with an incorrect u(g)id.
This change only propagates file mode to the destination. The files
will be owned by the remote user.1 parent b27058d commit ee4ef60
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
260 | 263 | | |
261 | 264 | | |
262 | 265 | | |
| |||
0 commit comments