signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.68k stars 2.68k forks source link

Problem with round bracket in the username of the windows Profile #7056

Open CaptainKirk354 opened 1 month ago

CaptainKirk354 commented 1 month ago

Using a supported version?

Overall summary

Hi there, when we install Signal (successfully) and then start the Signal Desktop .exe, it crashes with the error "EPERM". The cause seems a "(" round bracket in the users profile name. When we rename the profile without the round bracket "(", Signal works as usual. With an older Version 7.10. it works even if there is a bracket in the name. We tried with all the latest Versions, all have the same issue. 7.29, 7.28, 7.23. for example. It seemed to work fine until beginning of August maybe.

Steps to reproduce

  1. logoff the user from windows
  2. logon with admin to rename/remove the braket from the user profile in c:\users\USERNAMEPROFILE and change the Profile path in the REGISTRY (Profile List) (Example: "C:\users\user(name" to "c:\users\username"
  3. relogon with the user account
  4. start signal.

Expected result

Signal should start even if there is a round clamp in the Path where Signal is installed.

Actual result

Logs: {"level":50,"time":"2024-10-16T07:04:52.862Z","msg":"main/ready: Error deleting stale downloads: Error: EPERM: operation not permitted, scandir 'C:\Users\usernames'"}

{"level":50,"time":"2024-10-16T07:04:52.903Z","msg":"Unhandled Error: Error: EPERM: operation not permitted, scandir 'C:\Users\Default User'"}

{"level":50,"time":"2024-10-16T07:04:56.084Z","msg":"Unhandled Promise Rejection: TypeError: Object has been destroyed\n at safeLoadURL ([REDACTED]\app\main.js:474:10)\n

Screenshots

No response

Signal version

7.28, 7.29

Operating system

Windows 10, Windows 11

Version of Signal on your phone

No response

Link to debug log

No response