blob: 14d5caa7001b06fb27cacf891b5172d3d96075c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# $1 - bindir
# $2 - gnunetdns group
# $3 - sudo binary (optional)
$3 chown root $1/gnunet-helper-dns
$3 chgrp $2 $1/gnunet-helper-dns
$3 chmod 4750 $1/gnunet-helper-dns
# In case user 'gnunet' does not exist, at least set the group
$3 chgrp $2 $1/gnunet-service-dns
# Usually we want both...
$3 chown gnunet:$2 $1/gnunet-service-dns
$3 chmod 2750 $1/gnunet-service-dns
|