Posted By

renekreijveld on 12/28/10


Tagged

Bash joomla


Versions (?)

joomla setowner


 / Published in: Bash
 

Usage: setowner james Will set all files in current directory and all subdirectories to owner james:james

  1. #!/bin/sh
  2. owner=$1
  3. chown -R ${owner}:${owner} *
  4. chown -R ${owner}:${owner} .htaccess

Report this snippet  

You need to login to post a comment.