Skip to content

Instantly share code, notes, and snippets.

View darknoon29's full-sized avatar

Anthony darknoon29

View GitHub Profile
@darknoon29
darknoon29 / set_ogspy_rights.sh
Created March 6, 2020 14:56
Set OGSpy File Rights
#!/bin/sh
OGSPY_FOLDER="/srv/www/ogspy.fr/ogspy337"
if [ -f "$OGSPY_FOLDER/lang/lang_main.php" ]
then
echo "Setting OGSpy Rights"
chmod -R 755 $OGSPY_FOLDER