Deploying 1.0.9 - "wrong" permissions on ViscosityHelper

Got a problem with Viscosity or need help? Ask here!

filipp

Posts: 16
Joined: Wed Feb 24, 2010 5:48 pm

Post by filipp » Tue Mar 23, 2010 7:43 am
It seems there's a bug when deploying Viscosity 1.0.9 as per these instructions:
http://www.viscosityvpn.com/support/?se ... upportid=6

After preconfiguring the app, it's not possible to compress it using Finder because of special permissions on "ViscosityHelper". Creating a DMG file works but the resultant Viscosity.app does not launch.

Steps to reproduce:
- Download Viscosity, configure a connection, enter license info
- Show Package contents > Preconfigure, fix permissions (as per instructions)
- Finder > File > Create Archive....

Expected results:
- The steps should yield a Viscosity.app.zip package ready for deployment

Actual results:
- Finder gives error "The operation can't be completed because you don't have permissions to access "ViscosityHelper"

Additional info:
The permission of ViscosityHelper after a clean install and running once are:
$ ls -l /Applications/Viscosity.app/Contents/Resources/ViscosityHelper
---s--x--x 1 root wheel 37776 Feb 1 06:34 /Applications/Viscosity.app/Contents/Resources/ViscosityHelper

The workaround seems to be preconfiguring everything, but downloading a fresh copy of Viscosity and without running it, copy the Preconfigure etc files in.

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Mar 24, 2010 6:48 am
Hi filipp,
The workaround seems to be preconfiguring everything, but downloading a fresh copy of Viscosity and without running it, copy the Preconfigure etc files in.
Yes, this is the intended method for pre-configuring Viscosity. The documentation could certainly state it more clearly. We have a new website we're planning on launching soon with vastly improved documentation for things like this (along with a tool designed to make pre-configuration easier), so hopefully it won't be an issue soon.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

filipp

Posts: 16
Joined: Wed Feb 24, 2010 5:48 pm

Post by filipp » Thu Mar 25, 2010 12:14 am
Thanks for the feedback.

I actually made a little web app to ease the deployment process a bit:
http://unflyingobject.com/vpn_config/

It just spits out all the necessary OpenVPN files and config. Nothing Viscosity specific, but saves quite a bit of time when working with pfSense.
3 posts Page 1 of 1