Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: config file "C:\\Users\\Foo\\.jsctl\\token.json" has insecure file permissions, correcting them #98

Open
wallrj opened this issue Mar 8, 2023 · 0 comments

Comments

@wallrj
Copy link
Member

wallrj commented Mar 8, 2023

While testing #97 I noticed that jsctl.exe prints multiple warnings every time I execute it:

PS C:\Users\Richard Wall> jsctl organizations list
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\token.json" has insecure file permissions, correcting them
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\config.json" has insecure file permissions, correcting them
NAME                ROLES
jetstack            admin, member
jetstack-demo       admin, member
jetstack-richard    admin, member

PS C:\Users\Richard Wall> jsctl config set organization jetstack-richard
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\token.json" has insecure file permissions, correcting them
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\config.json" has insecure file permissions, correcting them
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\config.json" has insecure file permissions, correcting them
Your organization has been changed to jetstack-richard

PS C:\Users\Richard Wall> jsctl clusters list
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\token.json" has insecure file permissions, correcting them
warning: config file "C:\\Users\\Richard Wall\\.jsctl\\config.json" has insecure file permissions, correcting them
NAME      LAST UPDATED
test11    2023-03-08 11:52:41
PS C:\Users\Richard Wall> ls ~/.jsctl


    Directory: C:\Users\Richard Wall\.jsctl


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        08/03/2023     11:56                bin
-a----        08/03/2023     11:52             40 config.json
-a----        08/03/2023     11:51           1720 token.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant