Skip to content

Instantly share code, notes, and snippets.

View ferndot's full-sized avatar

Fern (they/them) ferndot

  • Seattle, WA, USA
  • 09:06 (UTC -07:00)
View GitHub Profile
@ferndot
ferndot / perms.sh
Last active August 6, 2017 15:27
Apache web folder permissions
FOLDER=$1
sudo chown -R www-data:www-data $FOLDER
sudo chmod -R 644 $FOLDER
sudo chgrp www-data $FOLDER
sudo chmod g+s $FOLDER