12 lines
300 B
Bash
Executable File
12 lines
300 B
Bash
Executable File
#!/bin/bash
|
|
# Dear g1n, THIS IS FOR MY WEB DIRECTORY PERMISSIONS!
|
|
|
|
cd /var/www/html/GRU
|
|
sudo chown -R chunk:www-data *
|
|
sudo find /var/www/html/GRU -type f -exec chmod 664 {} \;
|
|
sudo find /var/www/html/GRU -type d -exec chmod 775 {} \;
|
|
sudo chmod +x set-permissions.sh
|
|
echo ""
|
|
echo "Success!"
|
|
echo ""
|