- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for verifyDirectoryPermission (0.35 sec)
-
pkg/volume/volume_linux_test.go
if err != nil { t.Errorf("for %s error verifying permissions with: %v", test.description, err) } }) } } // verifyDirectoryPermission checks if given path has directory permissions // that is expected by k8s. If returns true if it does otherwise false func verifyDirectoryPermission(path string, readonly bool) bool { info, err := os.Lstat(path) if err != nil { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 12.1K bytes - Viewed (0)