Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

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

Open

Description

@wallrj

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions