Open Weaselgrease opened 5 years ago
Agreed, to store things like .settings
the program should use $XDG_CONFIG_HOME when launched by a normal user.
Has there been a regression on this? I am trying to run as a non-root user and this issue is still occurring. The app is ignoring XDG_CONFIG_HOME.
Error saving .settings file: Error: EACCES: permission denied, open '/usr/local/lib/node_modules/fb-messenger-cli/.settings'
fb-messenger-cli cloned today (2.1.1), nodejs-8.10, npm-3.5.2, elementary Linux 5.1.2 (Ubuntu 18.04.4 LTS)
Program launched for local user in their home directory after installing there, but fails to save because it's saving to the /usr/lib/ directory. There's no reason to elevate to root privileges for a script like this. Over-all it sounds like a pretty easy fix.