diff --git a/schema/defs-linux.json b/schema/defs-linux.json index 61b6ec75c..565661fbe 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -143,10 +143,10 @@ "$ref": "defs.json#/definitions/int64" }, "FileMode": { - "description": "File permissions mode (typically an octal value)", + "description": "File mode (typically an octal value)", "type": "integer", "minimum": 0, - "maximum": 512 + "maximum": 4096 }, "FileType": { "description": "Type of a block or special character device", diff --git a/specs-go/config.go b/specs-go/config.go index 40955144b..36c4aec59 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -386,7 +386,7 @@ type LinuxDevice struct { Major int64 `json:"major"` // Minor is the device's minor number. Minor int64 `json:"minor"` - // FileMode permission bits for the device. + // File mode bits for the device. FileMode *os.FileMode `json:"fileMode,omitempty"` // UID of the device. UID *uint32 `json:"uid,omitempty"`