cplayground icon indicating copy to clipboard operation
cplayground copied to clipboard

Can not listen on an unix socket in /cplayground which is mapped as a shared folder in VirutalBox

Open wxw-matt opened this issue 4 years ago • 2 comments

I found some information from other repo, someone said that the UNIX socket file can not be created in a shared folder and I verified that was true.

Any plan on this issue?

wxw-matt avatar Nov 14 '20 04:11 wxw-matt

For example, could the unix socket file be created in the tmp folder?

wxw-matt avatar Nov 14 '20 04:11 wxw-matt

Error backtrace: [2020-11-14T14:58:59+1000] [LOG] [VYMVa2v-5u10Bc7TAAAB] Run logged with ID 10 [2020-11-14T14:58:59+1000] [LOG] [VYMVa2v-5u10Bc7TAAAB] Saving code to /cplayground/data/36abd0dd-b813-4e32-b50c-03ec89685e51 [2020-11-14T14:58:59+1000] [ERROR] Error: listen EPERM: operation not permitted /cplayground/data/36abd0dd-b813-4e32-b50c-03ec89685e51-gdb.sock at Server.setupListenHandle [as _listen2] (net.js:1301:21) at listenInCluster (net.js:1366:12) at Server.listen (net.js:1463:5) at /cplayground/src/server/container.ts:143:30 at new Promise () at Container.initializeDebugSocket (/cplayground/src/server/container.ts:142:16) at new Container (/cplayground/src/server/container.ts:118:33) at /cplayground/src/server/socket-connection.ts:163:30 at processTicksAndRejections (internal/process/task_queues.js:93:5) error Command failed with exit code 1.

wxw-matt avatar Nov 14 '20 04:11 wxw-matt