ninegate/src/ninegate-1.0/perm.sh

13 lines
189 B
Bash
Raw Normal View History

2019-04-17 17:27:19 +02:00
#!/bin/bash
group=$2
if [ -z $group ]
then
group=$1
fi
sudo chown $1:$group /var/www/html/ninegate -R
sudo chmod +w /var/www/html/ninegate -R
sudo chmod g+rw /var/www/html/ninegate -R