diff --git a/pkg/fuse/device_linux.go b/pkg/fuse/device_linux.go index 4a0cd829ad42..966f9957fb0c 100644 --- a/pkg/fuse/device_linux.go +++ b/pkg/fuse/device_linux.go @@ -70,8 +70,8 @@ func grantAccess() error { return errors.Errorf("fail to find device cgroup") } - deviceListPath := path.Join("/sys/fs/cgroup/devices", deviceCgroup, "/devices.list") - deviceAllowPath := path.Join("/sys/fs/cgroup/devices", deviceCgroup, "/devices.allow") + deviceListPath := path.Join("/sys/fs/cgroup/devices" + deviceCgroup, "/devices.list") + deviceAllowPath := path.Join("/sys/fs/cgroup/devices" + deviceCgroup, "/devices.allow") // check if fuse is already allowed deviceListFile, err := os.OpenFile(deviceListPath, os.O_RDONLY, 0)