Comment 0 for bug 1621303

Chris Just (cpjust) wrote :

/etc/vpnc/ should be chmod 700
/etc/vpnc/default.conf should be chmod 600

Otherwise if you run vpnc without sudo you get a not so helpful error message like this:

    vpnc: Error binding to source port. Try '--local-port 0'
    Failed to bind to Permission denied

After changing the permissions as I suggested, you get a more helpful error like this:

    vpnc: couldn't open `/etc/vpnc/default.conf': Permission denied