patch: fix FUSE permission

1. fuse flag check made wrong, fix it
2. but still mount will RO flag

Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
This commit is contained in:
ClSlaid
2023-10-20 19:21:40 +08:00
parent fc3187a781
commit c529f8099d
2 changed files with 3 additions and 18 deletions
+1
View File
@@ -132,6 +132,7 @@ impl ClipboardContext {
let mnt_opts = [
MountOption::FSName("rustdesk-cliprdr-fs".to_string()),
MountOption::NoAtime,
MountOption::RO,
];
log::info!(
"mounting clipboard FUSE to {}",