File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,17 @@ fn print_error_state(error_state: &ErrorState) {
225
225
println ! ( "Blocked: {cause}" ) ;
226
226
println ! ( "Your kernel might be terribly out of date or missing nftables" ) ;
227
227
}
228
+ #[ cfg( target_os = "macos" ) ]
229
+ cause @ talpid_types:: tunnel:: ErrorStateCause :: NeedFullDiskPermissions => {
230
+ println ! ( "Blocked: {cause}" ) ;
231
+ println ! ( ) ;
232
+ println ! ( r#"Enable "Full Disk Access" for "Mullvad VPN" in the macOS system settings:"# ) ;
233
+ println ! ( r#"open "x-apple.systempreferences:com.apple.preference.security?Privacy_AllFiles"# ) ;
234
+ println ! ( ) ;
235
+ println ! ( "Restart the Mullvad daemon for the change to take effect:" ) ;
236
+ println ! ( "launchctl unload -w /Library/LaunchDaemons/net.mullvad.daemon.plist" ) ;
237
+ println ! ( "launchctl load -w /Library/LaunchDaemons/net.mullvad.daemon.plist" ) ;
238
+ }
228
239
talpid_types:: tunnel:: ErrorStateCause :: AuthFailed ( Some ( auth_failed) ) => {
229
240
println ! (
230
241
"Blocked: Authentication with remote server failed: {}" ,
You can’t perform that action at this time.
0 commit comments