Skip to content

Failed to open master .. masterseed.json.. has insecure file permissions #20123

Closed
@gpersoon

Description

@gpersoon

System information

geth version
Geth
Version: 1.9.5-stable
Git Commit: a1c09b93871dd3770adffb177086abda1b2ff3af
Git Commit Date: 20190920
Architecture: amd64
Protocol Versions: [63]
Network Id: 1
Go Version: go1.13
Operating System: windows
GOPATH=C:\Users\...\go
GOROOT=C:\Go\
clef -v
Clef version 0.0.0

Expected behaviour

Clef can use masterseed.json on windows

Actual behaviour

When starting clef.exe on windows the following error is shown:

WARN [09-24|17:00:39.980] Failed to open master, rules disabled    
err="file (C:\\Users\\...\\AppData\\Roaming\\Signer\\masterseed.json) 
has insecure file permissions (-rw-rw-rw-)"

When masterseed.json is made read only, the message changes to:

WARN [09-24|17:06:55.978] Failed to open master, rules disabled    
err="file (C:\\Users\\...\\AppData\\Roaming\\Signer\\masterseed.json) 
has insecure file permissions (-r--r--r--)"

However there is no way to get to the required security of the file, even changing or deleting all the windows rights doesn't help.

Steps to reproduce the behaviour

On windows: do clef init and then start clef

Metadata

Metadata

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