add setuid, setgid and sticky bits on high 3-bits of 12
This commit is contained in:
parent
ca40b0c284
commit
79e70ccf6f
@ -50,7 +50,7 @@ fn check_binary_unix_permissions(lit_kind: &LitKind, snip: &str) -> bool {
|
||||
|
||||
let group_sizes: Vec<usize> = num_lit.integer.split('_').map(str::len).collect();
|
||||
// check whether is binary format unix permissions
|
||||
if group_sizes.len() != 3 {
|
||||
if group_sizes.len() != 3 && group_sizes.len() != 4 {
|
||||
return false;
|
||||
}
|
||||
group_sizes.iter().all(|len| *len == 3)
|
||||
|
Loading…
x
Reference in New Issue
Block a user