question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot get svn diff in multiuser env (remote server)

See original GitHub issue
  • VSCode Version: 1.41.0
  • OS Version: Gentoo Client + Gentoo server
  • Extension Version: v2.3.0
  • System Language: EN
  • SVN Version: 1.12.2 (r1863366)

Issue

Trying to Open diff in FILE HISTORY on remote env and get error as follow: Error running command svn.itemlog.openDiff: EACCES: permission denied, mkdir '/tmp/vscode-svn/707ac331111e2ecd39d38c58804b3d0f'. This is likely caused by the extension that contributes svn.itemlog.openDiff.

The directory /tmp/vscode-svn is already created by a different user, therefore I’ve got the permission denied error.

Please add a user name or a user uid to the TMP path string (/tmp/vscode-svn) so it is unique for each user: https://github.com/JohnstonCode/svn-scm/blob/6c2748a9a8202a494cf05066eeec1a4257493af0/src/tempFiles.ts#L9

Steps to Reproduce

  1. Open file in remote project (via ms-vscode-remote.remote-ssh) or on multiuser system
  2. Select Subversion extension in vscode
  3. In FILE HISTORY choose commit, open context menu (right mouse click)
  4. Choose Open diff

SVN Output

Error running command svn.itemlog.openDiff: EACCES: permission denied, mkdir '/tmp/vscode-svn/707ac331111e2ecd39d38c58804b3d0f'. This is likely caused by the extension that contributes svn.itemlog.openDiff.

Screenshots

image image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tomaszhlawiczkacommented, Jan 9, 2020

Great, now it looks perfect 👍 Thanks!

1reaction
asdoi981xcommented, Jan 9, 2020

Facing the same issue here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Most Used SVN Commands with Examples - The Geek Stuff
Subversion Tutorial: 10 Most Used SVN Commands with Examples · 1. SVN Checkout – Create working copy · 2. SVN Commit – Save...
Read more >
Subversion FAQ - Apache
I run Apache 1.x right now, and can't switch to Apache 2.0 just to serve Subversion repositories. Does that mean I can't run...
Read more >
Version Control with Subversion - Red Bean Software
Explains how to configure your Subversion server and offers different ways to access your repository: HTTP , the svn protocol, and local disk...
Read more >
Check diff against file on the server - svn - Stack Overflow
I would like to know how to get the difference between the new version and the version in my working copy by using...
Read more >
Advanced Multi-User Networking
Things to try if you can't connect to a Multi-User Editing Server. ... If the Unreal Editor and the Multi-User Editing server are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found