MSD-LIVE / issues

0 stars 0 forks source link

Set file permissions on tokens file so only current user can read/write tokens (CLI) #166

Closed ghost closed 2 months ago

ghost commented 10 months ago

The tokens file is located in a directory named "msdlive-cli-${tier}" where tier is one of local, dev, stage, prod. The "msdlive-cli-${tier}" directory can be found in one of the following

ghost commented 10 months ago

To test this:

  1. If you've used the CLI before, locate the MSD-LIVE directory (see above). Check the permissions with "ls -l". These are probably set wrong.
  2. Log in to the CLI
  3. Check the permissions of the tokens file by running "ls -l" in the MSD-LIVE directory. The permissions should now be set correctly (e.g. -rw-------).
  4. Check the permissions of the MSD-LIVE directory (which is redundant, but also part of the bug fix). They should be "drwx------"
ghost commented 2 months ago

Done