Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for chmod (0.16 sec)

  1. cni/pkg/pluginlistener/listener.go

    	}
    
    	// Update file permission so that cni plugin has permission to access it.
    	if _, err := os.Stat(path); err != nil {
    		return nil, fmt.Errorf("cni listener file %q doesn't exist", path)
    	}
    	if err := os.Chmod(path, 0o666); err != nil {
    		return nil, fmt.Errorf("failed to update %q permission", path)
    	}
    
    	return listener, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top