vorpal icon indicating copy to clipboard operation
vorpal copied to clipboard

In a Linux environment, command history is saved to /tmp/.local-storage

Open tsgautier opened this issue 7 years ago • 0 comments

In a multi-user environment, this is a blocker. Multiple users will end up trying to use the same location for their independent uses of vorpal based apps.

At the moment, the .local-storage directory is created with sufficiently restrictive permissions that subsequent users will simply get a permissions problem when trying to start the app.

For an example of a local storage subdirectory done properly, please review the implementation at https://github.com/yeoman/configstore/blob/master/index.js which uses a combination of xdg-basedir and os.tmpdir() to find an appropriate location.

tsgautier avatar Mar 07 '18 16:03 tsgautier