mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	volume: use the effective uid
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
		| @@ -342,7 +342,7 @@ func verifyDirectoryPermission(path string, readonly bool) bool { | ||||
|  | ||||
| func TestSetVolumeOwnershipOwner(t *testing.T) { | ||||
| 	fsGroup := int64(3000) | ||||
| 	currentUid := os.Getuid() | ||||
| 	currentUid := os.Geteuid() | ||||
| 	if currentUid != 0 { | ||||
| 		t.Skip("running as non-root") | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Giuseppe Scrivano
					Giuseppe Scrivano