macOS: Use SMB backend for FUSE-T auxiliary mounts

This commit is contained in:
Mounir IDRASSI
2026-04-14 14:42:36 +09:00
parent 9877320788
commit 250a488a84
2 changed files with 15 additions and 5 deletions

View File

@@ -533,6 +533,17 @@ namespace VeraCrypt
args.push_back ("-o");
args.push_back ("nobrowse");
#ifdef VC_MACOSX_FUSET
// Use FUSE-T's SMB backend for the auxiliary mount. The default NFS
// backend can be affected by macOS Network Volumes privacy state.
args.push_back ("-o");
args.push_back ("backend=smb");
args.push_back ("-o");
args.push_back ("nonamedattr");
args.push_back ("-o");
args.push_back ("rwsize=262144");
#endif
if (getuid() == 0 || geteuid() == 0)
#endif
{