/ Published in: Bash
Usage: setowner james
Will set all files in current directory and all subdirectories to owner james:james
Will set all files in current directory and all subdirectories to owner james:james
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/sh owner=$1 chown -R ${owner}:${owner} * chown -R ${owner}:${owner} .htaccess