-
-
Notifications
You must be signed in to change notification settings - Fork 484
Description
When multiple users attempt to develop simultaneously on a shared remote server using the Remote - SSH extension, all users except the first one encounter issues with normal operation.
Prerequisites:
Remote development machine OS: Ubuntu 22.04
Local development machine OS: MacOS Sonoma 14.3.1
Programming Language: TypeScript
Multiple users logged into the same remote development machine
Distinct project paths for different users, e.g.:
User A's code path: /home/A/Project
User B's code path: /home/B/Project
Issue:
After User A logs in and begins normal development activities, User B logs in and experiences issues with features like code intelligence.
The output from the Vue Language Server indicates:
[Vue Named Pipe Client] No server found for /home/B/.../xxx.vue
It appears that the Vue Language Server creates a Unix Socket in the /tmp directory named vue-tsp-{{PID}}. The system's default umask is 022, which results in a socket with 644 permissions, preventing write operations by other users.
(Note: Even after adjusting the permissions of vue-tsp-{{PID}} to 666, the issue persists for other users.)
Additionally, there seems to be a file vue-tsp-table-{VERSION}.json in the /tmp directory that stores information about the generated Unix Sockets, and it's unclear if multi-user scenarios on a single machine have been considered.
Could you please advise on how to configure or address these issues to support a multi-user development environment on the same remote server?