joomla setowner


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. #!/bin/sh
  2. owner=$1
  3. chown -R ${owner}:${owner} *
  4. chown -R ${owner}:${owner} .htaccess

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.