Pages

Thursday, 5 August 2021

解决Tunnelblick 的The tmp system folder (/tmp) is not secure问题


MacOS 升级到 10.15 后,每次打开 Tunnelblick 都会提示 The tmp system folder (/tmp) is not secure.
虽然点继续可以使用,但是无法打开软件的配置界面, 会直接闪退
于是就想着修复这个问题
可是过程并没有那么顺利

  1. 首先查看官方文档

https://tunnelblick.net/cSystemFolderNotSecure.html

根据文档提示执行操作:

重启,问题继续…..

  1. 升级最新版本
    通过查看官方文档, 了解到官方在 Tunnelblick 3.8.0+ 版本后修复这一问题
    于是想着升级就可以了
    首先升级到最新版本 Tunnelblick 3.8.2 (build 5480)
    可是,问题继续…..

  2. 完全卸载
    于是继续查看官方文档,发现官方有个卸载程序: Tunnelblick Uninstaller 1.12
    于是下载下来完全卸载程序
    之后重装,问题继续……

  3. 再读文档

Disconnect all configurations and quit Tunnelblick*
Control-click the “Uninstaller” and click “Open”
Click on “Test” or “Uninstall”
When the uninstall is complete, restart your computer.

restart your computer.

我忽略了这个问题

于是完全卸载完后重启, 重启之后再重装, 问题继续……

但是这次提示不太一样, 错误信息:

The installation or repair took too long or failed. Try again?

  1. 再次执行第一步的命令
    重启软件,解决!!!

备注:

For OS X 10.11 and higher (including all versions of macOS):

FolderOwnerGroupPermissionsOctalTerminal command to repair
/Applicationsrootadminrwxrwxr-x0775sudo chown root:admin /Applications; sudo chmod 0775 /Applications
/Libraryrootwheelrwxr-xr-x0755sudo chown root:wheel /Library; sudo chmod 0755 /Library
/Library/Application Supportrootadminrwxr-xr-x0755sudo chown root:admin /Library/Application\ Support; sudo chmod 0755 /Library/Application\ Support
/tmp (10.11 - 10.14)rootwheelrwxr-xr-x0755sudo chown root:wheel /tmp; sudo chmod 0755 /tmp
/tmp (10.15+)rootadminrwxr-xr-x0755sudo chown root:admin /tmp; sudo chmod 0755 /tmp
/privaterootwheelrwxr-xr-x0755sudo chown root:wheel /private; sudo chmod 0755 /private
/private/tmprootwheelrwxrwxrwt1777sudo chown root:wheel /private/tmp; sudo chmod 01777 /private/tmp
/Usersrootadminrwxr-xr-x0755sudo chown root:admin /Users; sudo chmod 0755 /Users
/usrrootwheelrwxr-xr-x0755sudo chown root:wheel /usr; sudo chmod 0755 /usr
/usr/binrootwheelrwxr-xr-x0755sudo chown root:wheel /usr; sudo chmod 0755 /usr/bin

No comments:

Post a Comment