Fix inconsistencies found by consistency audit of 395f76e

This commit is contained in:
Ian Gulliver
2026-10-23 11:48:42 -07:00
parent 836d3019ac
commit f1d3f9be61
17 changed files with 376 additions and 362 deletions
+2 -1
View File
@@ -56,7 +56,8 @@ func New(dataDir string, ts *tsnet.Server, token string) (*Server, error) {
}
// Also protect existing installations: descendants include transcripts,
// credentials and the bearer URLs used by local agent listeners.
if err := os.Chmod(dataDir, 0o700); err != nil {
err = os.Chmod(dataDir, 0o700)
if err != nil {
return nil, err
}