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


You need to login to view comments.