SparkLabs Forum.

Community Help.

Temporary directory (--tmp-dir) fails

Dear all,

I use Viscosity on el Capitan and until yesterday it worked perfectly. I don't know what I did but I can't connect anymore to my providers, even with an other app.
This is the following log that I have :

Nov 08 11:47:39: Viscosity Mac 1.5.11 (1314)
Nov 08 11:47:39: Viscosity OpenVPN Engine Started
Nov 08 11:47:39: Running on Mac OS X 10.11.1
Nov 08 11:47:39: ---------
Nov 08 11:47:39: Vérification du statut d'accessibilité de la connexion ...
Nov 08 11:47:40: La connexion est accessible. Tentative de démarrage de la connexion.
Nov 08 11:47:40: Options error: Temporary directory (--tmp-dir) fails with '/tmp': No such file or directory
Nov 08 11:47:40: Options error: Please correct these errors.

It seems that there is a "/tmp" file problem but I don't know what to do to repair or restore this file.
Do you have any idea?

Thanks a lot for your help.

Hi micka,

Try editing your connection in Viscosity, clicking on the Advanced tab, and removing the line with the "tmp-dir" command from the advanced commands area. Click Save and try connecting.

Seeing this error and do not have tmp-dir in my advanced config.

2018-05-03 08:43:32: Viscosity Mac 1.7.9 (1450)
2018-05-03 08:43:32: Viscosity OpenVPN Engine Started
2018-05-03 08:43:32: Running on macOS 10.13.4
2018-05-03 08:43:32: ---------
2018-05-03 08:43:32: State changed to Connecting
2018-05-03 08:43:32: Checking reachability status of connection...
2018-05-03 08:43:32: Connection is reachable. Starting connection attempt.
2018-05-03 08:43:32: Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
2018-05-03 08:43:32: Options error: Temporary directory (--tmp-dir) fails with '/tmp': Permission denied (errno=13)
2018-05-03 08:43:32: Options error: Please correct these errors.
2018-05-03 08:43:33: The OpenVPN subsystem could not be started.
2018-05-03 08:43:33: State changed to Disconnected
Hi andharris,

The error likely means that the permissions on your computer’s global temporary directory are incorrect. Please try running the following commands from the Terminal (/Applications/Utilities/Terminal) to set the directory to the correct permissions and see if it resolves the issue:

Code: Select all

sudo chown root:wheel /private/tmp
sudo chmod 1777 /private/tmp

4 posts Page 1 of 1

Copyright © 2016 SparkLabs Pty Ltd. All Rights Reserved. Privacy Policy