--auth-user-pass fails with '...' Permission denied

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

sbarnea

User avatar
Posts: 12
Joined: Thu Oct 20, 2016 4:27 am

Post by sbarnea » Thu Mar 22, 2018 2:24 am
It seems that recently Viscosity --auth-user-pass stopped option stopped working and i am not sure if this was caused by a change in Viscosity 1.7.8b3 or MacOS 10.13.3.

Connection fails silently and on the logs I can see this error:

Options error: --auth-user-pass fails with '/Users/johndoe/.cache/.ovpn-credentials': Permission denied

This worked fine for more than an year but now I doesn't work anymore. I checked the permissions of on the file and they look ok, did a "cat <path>" as jonhndoe and root user and both are able to read it.

Any idea what could be causing it? Which user is used by Viscosity when reading this file?

James

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

Post by James » Thu Mar 22, 2018 4:02 pm
Hi sbarnea,

OpenVPN is run as the "_viscosity" user in the latest beta versions. Permissions will need to be adjusted on the file for read access.

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

Graff

Posts: 1
Joined: Mon Mar 19, 2018 9:21 pm

Post by Graff » Wed Mar 28, 2018 9:59 pm
Hi James, when will this beta version go to full release btw? I'm just curious.

James

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

Post by James » Thu Mar 29, 2018 7:56 pm
Hi Graff,

We don't have a firm date, but depending on feedback and bug reports it'll likely be in the next couple of weeks.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
4 posts Page 1 of 1