• websocketservice should not be writing files to /tmp

    From Nigel Reed@1:103/705 to GitLab issue in main/sbbs on Sun Sep 24 23:35:23 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/648

    websocketservice.js: ipFile = new File(system.temp_path + 'sbbs-ws-' + FServerSocket.local_port + '.ip');


    This is dumping files in /tmp even though I have TempDirectory=/sbbs/tmp in sbbs.ini. websocketservice.js should honor the TempDirectory override.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Mon Sep 25 00:09:05 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/648
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Parrish@1:103/705 to GitLab note in main/sbbs on Mon Sep 25 05:45:34 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/648#note_4256

    @rswindell I believe echicken was writing the IP address to this file so he could read it somewhere else, which he then used for geolocation, so there's likely at least one other line of code that needs to be switched from temp_path to temp_dir
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rick Parrish@1:103/705 to GitLab issue in main/sbbs on Mon Sep 25 05:45:35 2023
    reopen https://gitlab.synchro.net/main/sbbs/-/issues/648

    websocketservice.js: ipFile = new File(system.temp_path + 'sbbs-ws-' + FServerSocket.local_port + '.ip');


    This is dumping files in /tmp even though I have TempDirectory=/sbbs/tmp in sbbs.ini. websocketservice.js should honor the TempDirectory override.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to GitLab note in main/sbbs on Fri Nov 24 06:26:31 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/648#note_4481

    Commit 8474c792 addresses the other line(s) of code that Rick mentioned (in the wttr.in module). I think we can close this again.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)