pbs-client: fix symbolic mode display for 'other' mode
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
76bc66b9bd
commit
62e5cf1e8c
|
@ -97,7 +97,7 @@ fn mode_string(entry: &Entry) -> String {
|
||||||
|
|
||||||
let fmt_u = symbolic_mode((mode >> 6) & 7, 0 != mode & mode::ISUID, b's', b'S');
|
let fmt_u = symbolic_mode((mode >> 6) & 7, 0 != mode & mode::ISUID, b's', b'S');
|
||||||
let fmt_g = symbolic_mode((mode >> 3) & 7, 0 != mode & mode::ISGID, b's', b'S');
|
let fmt_g = symbolic_mode((mode >> 3) & 7, 0 != mode & mode::ISGID, b's', b'S');
|
||||||
let fmt_o = symbolic_mode((mode >> 3) & 7, 0 != mode & mode::ISVTX, b't', b'T');
|
let fmt_o = symbolic_mode(mode & 7, 0 != mode & mode::ISVTX, b't', b'T');
|
||||||
|
|
||||||
let has_acls = if meta.acl.is_empty() { ' ' } else { '+' };
|
let has_acls = if meta.acl.is_empty() { ' ' } else { '+' };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue