Skip to content

Commit ccf3a24

Browse files
committed
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 <h.huangqiang@huawei.com>
1 parent 9bab930 commit ccf3a24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The following parameters can be specified:
130130
"type": "c",
131131
"major": 10,
132132
"minor": 229,
133-
"fileMode": 0666,
133+
"fileMode": 438,
134134
"uid": 0,
135135
"gid": 0
136136
},
@@ -139,7 +139,7 @@ The following parameters can be specified:
139139
"type": "b",
140140
"major": 8,
141141
"minor": 0,
142-
"fileMode": 0660,
142+
"fileMode": 432,
143143
"uid": 0,
144144
"gid": 0
145145
}

0 commit comments

Comments
 (0)