diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-08-01 07:20:37 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-08-01 07:20:37 +0000 |
commit | b7ca6765f707bdf074b948d17ce9e458f0bd680d (patch) | |
tree | 017b209c01c8a7fb047aacdc426e42a28370c14e /src/nat/install-nat-helper.sh | |
parent | 94c672c467be073e9b62fe2c1b45267163f74db5 (diff) | |
download | gnunet-b7ca6765f707bdf074b948d17ce9e458f0bd680d.tar.gz gnunet-b7ca6765f707bdf074b948d17ce9e458f0bd680d.zip |
-fixing installation scripts for suid binaries
Diffstat (limited to 'src/nat/install-nat-helper.sh')
-rw-r--r-- | src/nat/install-nat-helper.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nat/install-nat-helper.sh b/src/nat/install-nat-helper.sh index 158c9fb15..502aa71f1 100644 --- a/src/nat/install-nat-helper.sh +++ b/src/nat/install-nat-helper.sh | |||
@@ -1,6 +1,5 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # $1 - sudo binary | 2 | # $1 - bindir |
3 | # $2 - bindir | 3 | # $2 - sudo binary (optional) |
4 | # $3 - nattest | 4 | $2 chown root:root $1/gnunet-helper-nat-server $1/gnunet-helper-nat-client || true |
5 | $1 chown root:root $2/gnunet-helper-nat-server $2/gnunet-helper-nat-client $3 || true | 5 | $2 chmod u+s $1/gnunet-helper-nat-server $1/gnunet-helper-nat-client || true |
6 | $1 chmod u+s $2/gnunet-helper-nat-server $2/gnunet-helper-nat-client $3 || true | ||