Repository navigation
Commit 221cfd9
committed
fs: use libuv for recursive cpSync to avoid VirtioFS EACCES
Fix verified RED->GREEN. fs.cpSync recursive copy fails EACCES on
Docker VirtioFS bind mounts via std::filesystem 0200 intermediate at
node_file.cc:4205. libstdc++ creates dest with 0200 then fchmod,
VirtioFS blocks. Single-file path at 4015 correctly uses
uv_fs_copyfile when mode != 0.
Fixes: nodejs#65497
Signed-off-by: Jeremy Schoemaker <[email protected]>
Assisted-by: Claude <[email protected]>1 parent 7aaf9b4 commit 221cfd9
1 file changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4202 | 4202 | | |
4203 | 4203 | | |
4204 | 4204 | | |
4205 | | - | |
4206 | | - | |
4207 | | - | |
4208 | | - | |
| 4205 | + | |
| 4206 | + | |
| 4207 | + | |
| 4208 | + | |
| 4209 | + | |
| 4210 | + | |
| 4211 | + | |
| 4212 | + | |
| 4213 | + | |
| 4214 | + | |
| 4215 | + | |
| 4216 | + | |
| 4217 | + | |
| 4218 | + | |
| 4219 | + | |
| 4220 | + | |
| 4221 | + | |
| 4222 | + | |
| 4223 | + | |
| 4224 | + | |
| 4225 | + | |
| 4226 | + | |
| 4227 | + | |
4209 | 4228 | | |
4210 | 4229 | | |
4211 | 4230 | | |
4212 | 4231 | | |
4213 | 4232 | | |
4214 | 4233 | | |
4215 | | - | |
| 4234 | + | |
4216 | 4235 | | |
4217 | 4236 | | |
4218 | 4237 | | |
| |||
0 commit comments