Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

380 B
Raw Blame
//go:build !windows

package collectorlifecycle

import "os"

func credentialFileModePrivate(info os.FileInfo) bool {
	// The typed collector credential is root-owned 0640 with read access only
	// for its dedicated service group. Group write/execute and all other access
	// are forbidden; 0600 remains valid for legacy/root-only installs.
	return info.Mode().Perm()&0037 == 0
}