diff --git a/internal/edits/device.go b/internal/edits/device.go index e86441097..a7bbd60bb 100644 --- a/internal/edits/device.go +++ b/internal/edits/device.go @@ -72,10 +72,11 @@ func (d device) fromPathOrDefault() *specs.DeviceNode { } return &specs.DeviceNode{ - HostPath: d.HostPath, - Path: d.Path, - Major: dn.Major, - Minor: dn.Minor, - FileMode: &dn.FileMode, + HostPath: d.HostPath, + Path: d.Path, + Major: dn.Major, + Minor: dn.Minor, + FileMode: &dn.FileMode, + Permissions: string(*&dn.Permissions), } }