You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EACCES: permission denied when renaming file on extension installation #11641
Extension fails to install in WSL and returns the error message: EACCES: permission denied, rename '/home/moses/.vscode-server/extensions/.ms-python.python-2020.4.76186' -> '/home/moses/.vscode-server/extensions/ms-python.python-2020.4.76186'
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Navigate to the extension's page in the extensions marketplace.
Click the Install in WSL: Ubuntu button.
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
No Output
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
ERR Error while installing 'ms-python.python' extension in the remote server. EACCES: permission denied, rename '/home/moses/.vscode-server/extensions/.ms-python.python-2020.4.76186' -> '/home/moses/.vscode-server/extensions/ms-python.python-2020.4.76186'
log.ts:185 INFO Trying to download 'ms-python.python' extension locally and install
log.ts:197 ERR Error: EACCES: permission denied, rename '/home/moses/.vscode-server/extensions/.ms-python.python-2020.4.76186' -> '/home/moses/.vscode-server/extensions/ms-python.python-2020.4.76186'
notificationsAlerts.ts:38 Error: EACCES: permission denied, rename '/home/moses/.vscode-server/extensions/.ms-python.python-2020.4.76186' -> '/home/moses/.vscode-server/extensions/ms-python.python-2020.4.76186'
Activity
moseswynn commentedon May 6, 2020
I was able to get the extension installed through this workaround: