[Slackbuilds-users] [PATCH] network/openresolv: Fix resolv script permissions

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Jan 31 16:51:05 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> The script /etc/openvpn/update-resolv-conf needs to have execute 
> permissions.  Otherwise it cannot be run.  This kind of error
> message is printed in /var/log/messages:
> 
> Jan 31 14:58:56 markusri_laptop openvpn[5647]: Options error: --up
> script fails with /etc/openvpn/update-resolv-conf: Permission
> denied --- network/openresolv/openresolv.SlackBuild | 2 +- 1 file
> changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/network/openresolv/openresolv.SlackBuild
> b/network/openresolv/openresolv.SlackBuild index d153f15..dfee84f
> 100644 --- a/network/openresolv/openresolv.SlackBuild +++
> b/network/openresolv/openresolv.SlackBuild @@ -45,7 +45,7 @@ if [
> "${OPENVPN:-no}" = "no" ]; then USE_OPENVPN="" else if [ -d
> /etc/openvpn ]; then -    USE_OPENVPN="cp $CWD/update-resolv-conf
> $PKG/etc/openvpn/" +    USE_OPENVPN="install -m 755
> $CWD/update-resolv-conf $PKG/etc/openvpn/" else echo "You must to
> have openvpn installed" exit 1
> 

Fixed in my branch

Thanks

- -- 
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlTNB/kACgkQiHuDdNczM4F8jQCgppZqc81fl9GcUF60daDAT48l
E4oAnAyz7QtkBmqFrdw3dVnz/MRR3iib
=+TJS
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list