From ccf3a246ca3721ec850628d8f133603ebbb27d8e Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Tue, 23 Feb 2016 08:22:27 +0800 Subject: [PATCH] Fix fileMode json example In json, os.FileMode would be presented as a uint32, which is decimal. Otherwise we'll get error: `invalid character '6' after object key:value pair` when unmarshal the json file. Signed-off-by: Qiang Huang --- config-linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config-linux.md b/config-linux.md index dd7878b..50811d7 100644 --- a/config-linux.md +++ b/config-linux.md @@ -130,7 +130,7 @@ The following parameters can be specified: "type": "c", "major": 10, "minor": 229, - "fileMode": 0666, + "fileMode": 438, "uid": 0, "gid": 0 }, @@ -139,7 +139,7 @@ The following parameters can be specified: "type": "b", "major": 8, "minor": 0, - "fileMode": 0660, + "fileMode": 432, "uid": 0, "gid": 0 }