MCPcopy
hub / github.com/crowdsecurity/crowdsec / setFilePerm

Function setFilePerm

pkg/database/file_utils.go:10–12  ·  view source on GitHub ↗
(path string, mode fs.FileMode)

Source from the content-addressed store, hash-verified

8)
9
10func setFilePerm(path string, mode fs.FileMode) error {
11 return os.Chmod(path, mode)
12}

Callers 1

NewClientFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…