client-connect script failure - Operation not permitted

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
jax
OpenVpn Newbie
Posts: 1
Joined: Sat Aug 31, 2013 8:39 am

client-connect script failure - Operation not permitted

Post by jax » Sat Aug 31, 2013 8:51 am

Hi,

I'm trying to run a script for sending email notification upon successful client connection. I have added the following lines in my server Config:

script-security 3 system
client-connect /users/user/documents/scripts/clientconnect.sh

the following error appears when trying to connect the server:

openvpn: Options error: --client-connect script fails with '/users/user/documents/scripts/clientconnect.sh' : operation not permitted
openvpn: Options error: please correct this error.


the server works fine when I remove above config lines.

appreciate any help.

thnx

Post Reply