Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyDirectoryPermission (0.35 sec)

  1. 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)
Back to top