- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for currentUID (0.09 sec)
-
pkg/volume/volume_linux_test.go
if (unixPerms&filePerm == unixPerms) && (info.Mode()&os.ModeSetgid != 0) { return true } return false } func TestSetVolumeOwnershipOwner(t *testing.T) { fsGroup := int64(3000) currentUid := os.Geteuid() if currentUid != 0 { t.Skip("running as non-root") } currentGid := os.Getgid() tests := []struct { description string fsGroup *int64 setupFunc func(path string) error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 03 19:34:37 UTC 2023 - 12.1K bytes - Viewed (0)