Advertisement
matthewpoer

webfix bash

May 24th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. # I type these out a lot... this should be easier
  2. function webfix(){
  3.   sudo chown -R www-data:www-data "$@" &&
  4.   sudo chmod -R 775 "$@"
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement