vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

EPERM: operation not permitted, copyfile - When working in DevContainer and using a google drive local map

Open dss010101 opened this issue 1 year ago • 0 comments

Type: Bug

  • VS Code Version:

  • Version: 1.89.1 (user setup) Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685 Date: 2024-05-07T05:13:33.891Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.22621

  • OS Version: Debian version 11.7

Steps to Reproduce:

Im working in a devcontainer container (debian 12 bookworm).
The container builds fine and i can run my code. However, if try to copy a file in the vscode explorer and paste to another folder i end up with errors like this My files are on google drive. I have the google drive desktop installed which is the G drive on my local. Furthermore i have the folders marked as "available offline"

The file(s) to paste have been deleted or moved since you copied them. 
Error: EPERM: operation not permitted, copyfile '/workspaces/my_app/src/my_app/__init__.py' -> '/workspaces/my_app/src/my_app/web/__init__.py'

I have googled and found recommendation about running vscode as administrator, but this does not help. As mentioned, the folders and file are local (available locally). I have also made sure all permissions are read/write.

Any other suggestions to solve this issue?

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z) OS version: Windows_NT x64 10.0.22621 Modes: Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2 Remote OS version: Linux x64 5.15.146.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.87GB (0.58GB free)
Process Argv
Screen Reader no
VM 0%
Item Value
Remote Dev Container: vb_pi_lab
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2591)
Memory (System) 7.69GB (5.14GB free)
VM 0%
Item Value
Remote Dev Container: alpha_insite_app
OS Linux x64 5.15.146.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2591)
Memory (System) 7.69GB (5.14GB free)
VM 0%
Extensions (15)
Extension Author (truncated) Version
remote-containers ms- 0.362.0
vscode-eslint dba 2.4.4
gitlens eam 14.9.1
git-graph mhu 1.30.0
debugpy ms- 2024.6.0
python ms- 2024.6.0
vscode-pylance ms- 2024.5.1
jupyter ms- 2024.4.0
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.0.17
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
sqltools mtx 0.28.3
sqltools-driver-pg mtx 0.5.4
lit-plugin run 1.4.3
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vswsl492:30256859
vstes627:30244334
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:30973076
showvideot:31016892
dsvsc021:30996838
da93g388:31013173
pythonprt:31039817
dwnewjupytercf:31039676

dss010101 avatar May 10 '24 06:05 dss010101